U
UKuser
Hi,
I have a form which is created with PHP and has each input/text box as
a name[num].
What I want is to use ajax to send each the contents of the boxes in a
get statement as if it were a PHP post or get statement.
I.e.
<input type="text" name="prop[1]" value="eds" style="width:150px" />
<input type="text" name="prop[2]" value="eds" style="width:150px" />
<input type="text" name="prop[3]" value="n4" style="width:150px" />
I want my javascript to get the contents of each of the boxes and post
it to my php script from where I can process it. It will be passed to
the php script as a GET statement.
I am trying to use the getElement/s lines, but I am not a javascript
guru and struggling a bit.
Any help would be great.
Thanks
A
I have a form which is created with PHP and has each input/text box as
a name[num].
What I want is to use ajax to send each the contents of the boxes in a
get statement as if it were a PHP post or get statement.
I.e.
<input type="text" name="prop[1]" value="eds" style="width:150px" />
<input type="text" name="prop[2]" value="eds" style="width:150px" />
<input type="text" name="prop[3]" value="n4" style="width:150px" />
I want my javascript to get the contents of each of the boxes and post
it to my php script from where I can process it. It will be passed to
the php script as a GET statement.
I am trying to use the getElement/s lines, but I am not a javascript
guru and struggling a bit.
Any help would be great.
Thanks
A