View Single Post
  #1 (permalink)  
Old September 21st, 2005, 01:14 PM
tgopal tgopal is offline
Authorized User
Join Date: Jun 2003
Location: , , India.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to tgopal
Default input type="image"

I want to get the id's and name's of the image tags in my form dynamically using javascript
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


Reply With Quote