[jQuery] Re: how to detect if user input is a chinese character?
this is not jquery function. 2009/7/12 Plant More Tree markth...@gmail.com Hi guys, I got a textarea and I need to detect instantly if user input is a chinese character or not. IS there anyway jquery can help this? Thanks Regards, Mark -- View this message in context: http://www.nabble.com/how-to-detect-if-user-input-is-a-chinese-character--tp24445883s27240p24445883.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: how to detect if user input is a chinese character?
i am jus asking if there's anyway we can check if user input is chinese character. 刘永杰 wrote: this is not jquery function. 2009/7/12 Plant More Tree markth...@gmail.com Hi guys, I got a textarea and I need to detect instantly if user input is a chinese character or not. IS there anyway jquery can help this? Thanks Regards, Mark -- View this message in context: http://www.nabble.com/how-to-detect-if-user-input-is-a-chinese-character--tp24445883s27240p24445883.html Sent from the jQuery General Discussion mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/how-to-detect-if-user-input-is-a-chinese-character--tp24445883s27240p24450289.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: how to detect if user input is a chinese character?
hi are you checking for Chinese specifically? or just non-English? I remember seeing a solution for non-English somewhere. Someone told me you can check the first byte or something for Chinese. not to be mean or anything But I think its really best if you google it more will faster than sitting here for answer. After all this is a jQuery forum