I have a problem,
I am trying to use the following vbscript to automatically submit a form. It works in IE but not in Mozilla. Does anyone have any suggestions on how to make this work?
<form name="frmUserCode" id="frmUserCode" method="POST" action="http://www.mysite.com/login.asp">
<input type="hidden" name="UCD" id="UCD" value="<% =str_UserCode % ">
</form>
<script type="text/vbscript" language="vbscript">
<!--
Document.GetElementByID("frmUserCode").Submit()
-->
</script>
I am trying to use the following vbscript to automatically submit a form. It works in IE but not in Mozilla. Does anyone have any suggestions on how to make this work?
<form name="frmUserCode" id="frmUserCode" method="POST" action="http://www.mysite.com/login.asp">
<input type="hidden" name="UCD" id="UCD" value="<% =str_UserCode % ">
</form>
<script type="text/vbscript" language="vbscript">
<!--
Document.GetElementByID("frmUserCode").Submit()
-->
</script>