Sobsoft,
шифровка из центра ...
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
jQuery.fn.keyboardLayout = function() {
var c = /[\u0430-\u044f\u0451]/gi,
d = /[a-z]/gi;
return this.each(function(g, a) {
var b;
$(a).on("input", function() {
if (a.value.length)
if (b) a.value = a.value.replace(b, "");
else {
var e = ~a.value.search(c),
f = ~a.value.search(d);
e && f ? b = e < f ? d : c : e ? b = d : f && (b = c)
}
else b = void 0
})
})
};
$(function() {
$('#jur_name').keyboardLayout();
});
</script>
</head>
<body>
<input type="text" id="jur_name">
</body>
</html>