p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Javascript How-To (http://p2p.wrox.com/forumdisplay.php?f=87)
-   -   input type="image" (http://p2p.wrox.com/showthread.php?t=33589)

tgopal September 21st, 2005 01:14 PM

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


ChrisScott September 22nd, 2005 05:16 AM

Please don't cross-post: http://p2p.wrox.com/topic.asp?TOPIC_ID=34977



All times are GMT -4. The time now is 11:31 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.