Hello,
We currently have an application that traps onKeyPress events in a text field and cancels the event if not numeric. This does not seem to work in Safari. The event fires, the event handler is called, but the return false is ignored and the character allowed and displayed. Does anyone have any ideas of how I can get around this? Note that solution has to be cross-browser and support at least IE6, Netscape 7, and Safari.
Thanks in advance for all your help!
Julia Allen
Deltek Systems, Inc.
juliaallen@deltek.com
We currently have an application that traps onKeyPress events in a text field and cancels the event if not numeric. This does not seem to work in Safari. The event fires, the event handler is called, but the return false is ignored and the character allowed and displayed. Does anyone have any ideas of how I can get around this? Note that solution has to be cross-browser and support at least IE6, Netscape 7, and Safari.
Thanks in advance for all your help!
Julia Allen
Deltek Systems, Inc.
juliaallen@deltek.com