PDA

View Full Version : writing to a form


theamazingninja
10-08-2003, 02:23 PM
I wanted to create a form button so when you click on it, it writes to a form text input.

this is what i have but it does not work. please help!

<input type="button" value="+" onclick="document.write.form.inputname('+')";>

is this right?

please explain what i am doing wrong?

Korsad
11-18-2003, 11:21 AM
In the "document. write.forum.inputname", what does the "write" stand for?

sans-hubris
11-19-2003, 09:32 AM
Someone needs an introduction to the DOM (http://www.mozilla.org/docs/dom/domref/).