Hi I have this problem:
I have 3:
<input type="textfield" name="field">
They will be known to the browser as:
field[0] & field[1] & field[2]
I've made an onClick function that look like this:
<input type="textfield" name="field" onClick="myFunction(x)">
The problem here is the x. If this textfield had the name field[2] I want x to be 2...
I guess the function would be something like:
myFunction(this.arraynumber)
I know it's not arraynumber but it should look something close to that... I've searched the entire web but I can't find a solution so I had to post it here though this has nothing to do with PHP... please help!