How to pass parameter to the attachEvent javascript function
Posted
by Lakshman
on Stack Overflow
See other posts from Stack Overflow
or by Lakshman
Published on 2010-04-18T19:33:26Z
Indexed on
2010/04/18
19:43 UTC
Read the original article
Hit count: 492
JavaScript
|javascript-events
I have to pass paramter the validateNum javascript function (eg. num1, num2)
if (num1.attachEvent) {
num1.attachEvent("onkeypress", validateNum);
}
How to pass. can i get code sample?
© Stack Overflow or respective owner