Hi,
In all the text box functions we should give this as a parameter.Then we can call that function from all the textboxes with only one
parameter.
Ex:
In all, you give onclick=func(this)
In function, you can call with any parameter like func(val) {var s=val.value}
Bye
Maha
"Bhinda, Madhur" <Madhur_Bhinda@D...> wrote:
Hi,
Could you pls share with us how to do that.
Thanks in advance
Madhur
-----Original Message-----
From: Hovik Melkomian [mailto:melvik@b...]
Sent: Tuesday, March 18, 2003 12:58 PM
To: javascript
Subject: [javascript] Re: global function for all TextBox without
Parameter
Hi again guys.
Sorry but I found it! :)
Hovik.
----- Original Message -----
From: "Hovik Melkomian"
To: "javascript"
Sent: Tuesday, March 18, 2003 11:54 AM
Subject: [javascript] global function for all TextBox without Parameter
Hi there:
I've made a function to do something in TextBox, now I wanna use
it for many TextBoxes and dont wanna use parameter for each TextBox.
Please tell me how can I do it?!
Thanks in advance,
Hovik.
Catch all the cricket action. Download Yahoo! Score tracker