|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mozilla form submit problem
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> |
|
#2
|
||||
|
||||
|
Have you tried just:
Code:
<script language="JavaScript">document.frmUserCode.submit();</script>
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more! |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Mozilla form submit problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|