I defined a onkeypress function for textbox element as following.
function myOnKeyPress(event){
...
return false;
}
I wanted to stop the key value to go into the textbox by 'return false' but
failed. For IE, just set event.returnValue = false. Is there any way for xul
to do this? Thanks.
Regards,
Rong
