>>><script language="JavaScript"> >>> document.forms['cart'].submit(); >>></script>
> This comes *after* the form on the page >> document.forms.cart.submit() >> >> -- search the source, make sure there aren't 2 forms on >> the page both >> named "cart". > Only one form >> Also if it's not working, it should produce an error... > document.forms.cart has no properties... > <SCRIPT language="JavaScript">alert(typeof > document.forms['cart'])</script> > Gives me "undefined" in Netscape > I.E. just says "Object" and then it submits like it > should... Yea, that's IE being lenient. If you want to stick with the programmatic form submission solution, I think Dave Watts and Jim Davis (and somebody else?) have given you the answer to why the form is undefined. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/author/?id=4806 http://www.fusiontap.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202305 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54