Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
![]() |
•
•
Join Date: Aug 2006
Posts: 7
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!
![]() |
Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
- 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
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode