Have a small form problem I need some assistance with.... I have a form that needs to submit itself with no user interaction (it's on a "processing" page that the user never sees that passes variables off to Verisign for a product payment). There are actually 4 forms, but each is contained inside a Cold Fusion "if" statement to determine which one, and only one, gets submitted
Abbreviated code below. There's 4 of these blocks on the page: <cfif url.ID eq "1year"> <form name="cart" method="POST" action="https://payflowlink.verisign.com/payflowlink.cfm"> ....form variables and such here.... </form> <script type="text/javascript">document.cart.submit()</script> </cfif> This automatically submits the form without having to push a "submit" button or anything.... It's working great in I.E. Bombs in Netscape 7. These don't work either.... <script type="text/javascript">document.forms[0].submit()"</script> <script type="text/javascript">document.forms['cart'].submit()"</script> What do I need to do differently to get this to function in both? Thanks... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com