If that code is verbatim, the </form> tag hasn't happened yet when the script is called. The form object doesn't exist until its end tag closes it.
Dave Merrill > Oh yea - if I do a "view source" on the page that comes up and isn't > submitting, I'm getting exactly what I'm supposed to see. > > Basically, it's a page between the clients site and cartserver that sets > up a bunch of required variables before it's submitted ... > > Full page below (from view source) > > > <head> > <meta HTTP-EQUIV="expires" CONTENT="Fri, 1 Jan 1990 00:00:00 GMT"> > <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> > </head> > > <form name="cart" > id="cart" > action="http://www.cartserver.com/sc/cart.cgi" method="POST"> > > <input type="hidden" name="item" value="a-2838^ME-CUT^ME-CUT--Block > cut-out earrings ENGRAVED Initials:asd Text Style:35^40.80^1"> > > <SCRIPT language="JavaScript"> document.forms.cart.submit() </script> > > -- > ----------- > Les Mizzell ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202271 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54