I am trying to get a form to submit onLoad. It is not working (obviously). Here is my code:
[code]
<body onload=”document.forms[‘pop_up’].submit()”>
<table class=”special” style=”width:700px”>
<tr>
<td style=”border:thin groove silver;”>
If you wish to pay this account electronically rather than be billed, click “Pay Now” to be redirected to a
secure 3rd-party online credit card processor. If you chose to pay online and are not automatically redirected
within 10 seconds you can click this button.
<form name=”pop_up” method=”post”
action=”../../home/misc/pay_online.asp?from=resubscribe&curr_length=<%=sCurrLength%>”
target=”_blank”>
<input type=”submit” name=”submit” id=”submit” style=”font-size:8pt” value=”Pay Now” />
</form>
</td>
</tr>
Any help would be much appreciated! Thanks!