After prohibiting the input of special characters and spaces, you cannot use Sogou Input to enter Chinese.

such as the question, go to the code

<input type="text" name="address">
var pattern = new RegExp("[`~!@-sharp$^&*()=|{}":;",\\[\\].<>/?~@-sharp&*|{} ";:" ""]")
$("input").on("keyup",function () {
    $(this).val($(this).val().replace(/\s+/g,""));
});
$("input[name="address"]").on("keyup",function (event) {
    $(this).val($(this).val().replace(pattern,""));
});

used for the above code, you can"t input Chinese with Sogou Input in IE9/10/11


because your regular expression contains ', which happens to be the key to Sogou's Chinese input method typing on the screen, Filter should be fine without this character.

if you insist on wanting to join Filter ', it is recommended that you add another on change event, in which replace drops the symbol, and the change event will trigger execution after the user focus leaves the input box.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5b1c1-66fa8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5b1c1-66fa8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?