jasonlfunk
Programmer
I want to change the name of a button in a function. The reason: I am going to have many buttons on a page and when the user clicks it- it changes into a submit button. I want to be able to change the name of the button (the actual name, not the value) to something that the action handler will be able to look for.
my first guess of document.form.button.name = "newName"; didn't work.
Is this possible?
my first guess of document.form.button.name = "newName"; didn't work.
Is this possible?