I use jquery code:
$.ui.keyCode.COMMA
only can Capture Single Byte Character input,How can Capture Double Byte Character also.
who can help me ? thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
",".charCodeAt(0)gives me 65292 so you could tryTo capture that.
In case that is wrong, you can get the correct number like so:
Then hit the chinese comma character in your keyboard and see what number comes up. The number will be shown in your web developer console of firefox/google chrome. Or just do: