•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 426,478 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,232 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1928 | Replies: 1
![]() |
•
•
Join Date: Aug 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
I have a form that consists of indexed fields like:
In netscape/firefox, i can access the qtyOrdered value using:
How do i access the qty field in Internet Explorer?
<input type="text" name="formItems[0].part" value="TK02"> <input type="text" name="formItems[0].price" value="13.0"> <input type="text" name="formItems[0].qty" value="1"> <input type="text" name="formItems[1].part" value="AG-1"> <input type="text" name="formItems[1].price" value="7.0"> <input type="text" name="formItems[1].qty" value="10">
In netscape/firefox, i can access the qtyOrdered value using:
document.forms['ShoppingCartForm'].elements['formItems[0].qty'].value
How do i access the qty field in Internet Explorer?
•
•
•
•
I have a form that consists of indexed fields like:
<input type="text" name="formItems[0].part" value="TK02"> <input type="text" name="formItems[0].price" value="13.0"> <input type="text" name="formItems[0].qty" value="1"> <input type="text" name="formItems[1].part" value="AG-1"> <input type="text" name="formItems[1].price" value="7.0"> <input type="text" name="formItems[1].qty" value="10">
In netscape/firefox, i can access the qtyOrdered value using:
document.forms['ShoppingCartForm'].elements['formItems[0].qty'].value
How do i access the qty field in Internet Explorer?
I tried this in FF2.0, IE6, IE7. All of them work.
The document is xHTML standard.
What version of IE are you getting problems with?
What error do you get?
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
adsl2 adsl2+ ajax apps asp bbc blog bluetooth broadband business celebration crash developer development digg domain download exploits explorer firefox funds google gradient home ie 7 ie7 internet investments microsoft mobile money mozilla network networking news office online phishing portfolio registration security server site software stocks terrorism vista vr web windows
- Internet explorer won't connect (Viruses, Spyware and other Nasties)
- new window in Internet Explorer is always blank (Web Browsers)
- internet explorer 6 problem enlarging pictures (Windows NT / 2000 / XP / 2003)
- Hijack This Log - Internet Explorer - Problems accessing websites (Viruses, Spyware and other Nasties)
- Internet Explorer would not browse properly (Web Browsers)
- Internet Explorer not opening from desktop (Viruses, Spyware and other Nasties)
- Internet explorer problems (Web Browsers)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Add a tag(Java)
- Next Thread: date validation


Linear Mode