Maybe somebody can help me with the following javascript:
The first if disables the enter button. I'm trying to use the same function to trap lowercase keystrokes, and convert them to upper case.Code:<script language=javascript> function inspectEvent(evt){ if (evt.keyCode == 13)return false; if (evt.keyCode > 96 && evt.keyCode < 123)return evt.keyCode - 32; }</script>




Reply With Quote