Hiya - i need to change the value of a textbox when a fuction has been called.
There are several forms on a page,
so to call a functiom i am using a onclick event somthing like this :
what Syntax do i need to use?
if i knew the form ID then i would use this:
but i don't so want to use the formname (frmname) that was passed through to the function....
any help?
Thanks
Ash
There are several forms on a page,
so to call a functiom i am using a onclick event somthing like this :
Code:
onclick="dropdata(frmname,textname)"
what Syntax do i need to use?
if i knew the form ID then i would use this:
Code:
document.form1.getElementById(textname).value = "0"
but i don't so want to use the formname (frmname) that was passed through to the function....
any help?
Thanks
Ash