Hi my dear friends:
I know how can we use onkeyup event of an element...
but I want to have an alert in all of my form areas when a client presses the enter key(for example) (not on an unique element)
Is there a function that already exists in javascript to do this? Should I create a function to do this? Or should i put alert code (with nested if statements) in javascript area code without using a function?
That was my #1 question..
My #2 question is:
I know differences about key events in ie and firefox and ...(keycode and charcode and ...) What is the best way for using key events for ie and firefox for detecting upper situation that i explained?
Thanks in advance!