I will have something like this:
<input type=button name="modify1" onClick="change(1)">
<input type=button name="modify2" onClick="change(2)">
<input type=button name="modify3" onClick="change(3)">
<input type=button name="modify4" onClick="change(4)">
function change(id)
{
name = "modify"...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.