ssaluja
asked on
How can we capture ALT255 Character
Hi All
When we Type while Pressing ALT, 255, then we get a special character like Space(" "). How can we capture this character with JavaScript.
Thanks
Sanjay Saluja
When we Type while Pressing ALT, 255, then we get a special character like Space(" "). How can we capture this character with JavaScript.
Thanks
Sanjay Saluja
... txt.value.charAt(i) == ' ' ...
this here is typed by using ALT+255
this here is typed by using ALT+255
ASKER
Hi Venci75
I have checked both ways but it is not handling it, since it is not a simple BLANK space ' '. So Please tell me if any other way out is there..
Thanks
Sanjay
I have checked both ways but it is not handling it, since it is not a simple BLANK space ' '. So Please tell me if any other way out is there..
Thanks
Sanjay
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- points to Venci75
Please leave any comments here within the
next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
girionis
Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
- points to Venci75
Please leave any comments here within the
next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
girionis
Cleanup Volunteer
<button onclick="for (i=0; i<txt.value.length; i++) if (txt.value.charAt(i) == ' ') alert('255 found'); else alert('OK');"