Why would the following code:
produce the following error:
Error: 'document.frmSubmitPay' is null or not an object
when I click on the Submit & Pay link? This is driving me nuts because it doesn't seem to make sense to me!! What am I overlooking here?
-Greg
Code:
<table border=0 cellspacing=0 cellpadding=5 width=100%>
<tr>
<form method="post" action="[URL unfurl="true"]https://www.landata-cc.com/UCC/processpayment.asp"[/URL] name="frmSubmitPay">
<input type=hidden name=transNumb value="200412130007">
<input type=hidden name=returnPath value="gen3XML.asp">
<input type=hidden name=userName value="glowery">
<input type=hidden name=iUserID value="207">
<input type=hidden name=amount value="26.5">
<input type=hidden name=iSiteID value="1">
<td align=right width=100%>
<a href="javascript:document.frmSubmitPay.submit();" target="_parent"><font size=2>Submit & Pay >></font></a>
</td>
</form>
</tr>
</table>
produce the following error:
Error: 'document.frmSubmitPay' is null or not an object
when I click on the Submit & Pay link? This is driving me nuts because it doesn't seem to make sense to me!! What am I overlooking here?
-Greg