web hosting and development forums
Web Design and Development Forums Archive


Index - JavaScript forum

changin the value of a form


Post reply

Is it possible to change the value of a form element from within a link using javascript? i don't want to create a function on which to call
BigDaddy, just put the code you would put in the function into the link's onclick
like onClick="document.changeqtyform.QTY.value='0'"?
Yes
Hmm- that doesn't seem to work
Check for JS errors then, and see if the onclick even runs by putting an alert() in there.
Can i specify self for the formname?




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com