Click to See Complete Forum and Search --> : Question about Input fields.


Neczy
09-04-2004, 08:32 PM
Okay at the moment I have an input field that looks like this basically:

<input name="remove" type="hidden" value="yes">

I was wondering how I could change the name area without modifying the sourcew code, like in a text field. Anyone have any ideas?

Basically i want, in the end, to have an html file that will let me open it in a browser, then type in the input name i want to go in it.

ANy ideas?

Jona
09-04-2004, 08:57 PM
<input type="text" onkeyup="document.getElementById('chngField').name=this.value;">

<input type="hidden" name="remove" value="yes" id="chngField">