input type="image"
Hi
I want to get the id's and name's of the image tags in my form dynamically using javascript
Ex.
If i have
<input type="image" name="image1" id="image1">
<input type="image" name="image2" id="image2">
I want to get the name and ids of the above two tags dynamically
I tried with document.images and document.form.elements it is not working.
Any suggestions on this
Regards
Gopalakrishnan
|