I have a form and a button that calls this script (I know you can use a submit button but I’m testing it because I couldn’t get it to work from a larger script) and I get the error – Object doesn’t support this object or method. What am I doing wrong??
[CODE]
<script>
function subit()
{
document.upsfm.submit();
}
</script>
</HEAD>
<BODY>
<CENTER>
<FORM method=”post” action = “http://wwwapps.ups.com/WebTracking/OnlineTool” target=”main” name=”upsfm”>
<INPUT type=”text” size=20 name=”InquiryNumber1″> ,
<INPUT type=”text” size=20 name=”InquiryNumber2″> ,
<INPUT type=”text” size=20 name=”InquiryNumber3″>
<INPUT type=”button” value=”Submit Test” onClick=”subit();”>
<INPUT type=”submit” value=”Go!”>
</form>