|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#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
|
||||
|
||||
|
Hmm, vbscript in anything other than IE probably won't work. Why not just use JavaScript?
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
Quote:
I just got finished trying a javascript version of this and it behaved the same as with vbscript. Worked great in IE and didn't using Mozilla firefox. I'm stumped! Any other suggestions. |
|
#4
|
|||
|
|||
|
Oh the joys of free enterprise with no standards...
I found the problem; S vs. s in submit. Submit (bad). submit (good) in Mozilla firefox. S vs. s in submit. Submit (good). submit (good) in IE. |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Mozilla form submit problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|