I saw a few questions that didn't really make any sense to me so I'm hoping that there's a really simple solution to my problem here.
I have this code.
onKeyPress="if (event.keyCode==45) event.returnValue=false;"
it works in IE but not in Firefox.
I tried putting the returnValue part in {} that didn't help me either. Sorry if this is really simple, and if it was answered elsewhere but like i said, the answers didn't make any sense to me. Thanks ahead of time if anyone can help me.
Start Free Trial