Hi,
I am using textbox as input and want its backspace keycode. I am using keypress event.
How i will get it ?
Thanks,
Ishani
Hi,
I am using textbox as input and want its backspace keycode. I am using keypress event.
How i will get it ?
Thanks,
Ishani
Hi Ishani,
Try this please:preif (event.keyCode === 8){
alert("backspace");
}/pre
Hi, Katya i tried this but it is not working ![]()
function TextBoxPINSIXOnKeyPress(event){
if (event.keyCode === 8){
alert("backspace");
}
}
Ishani,
Use keydown event instead of keypress. Keypress event will work for symbols only.
Hi Ishani,
Does it work? Do you need any further help?
hi,
Sorry for late update.
I am continue trying it, actly it works in browser properly but in device its working in wrong way.
Hello! Could you clarify what exactly doesn't work?
Could you clarify what button and on what keyboard you click? Is this Delete button on soft keyboard?
Could you also describe in more details what are these textboxes? Did you specify any properties for these textboxes?