[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Problems with IE 4 not behaving with JavaScript
****** message to minivend-users from Barry Treahy <treahy@mmaz.com> ******
This is a strange one and I'm sure it goes back to the fact that MS does
support JavaScript like Netscape does.
This works fine on NS, but on IE it does not. Here is the snippet of
HTML and then I'll explain:
<FORM ACTION="[process-target]" METHOD="POST">
<P>Hi [value b_name]! You are logged in as user <B>[value
mv_username]</B>.
<INPUT TYPE="submit" NAME="mv_click" VALUE="Proceed"> to our
ordering system.</P>
<SCRIPT LANGUAGE="JavaScript">
<!--
setTimeout("document.forms[0].submit();", 1000);
// -->
</SCRIPT>
</FORM>
In a nutshell, after logging in, this page is hit. If the login failed,
it displays a different section of bounces the user back to try again.
If it succeeds, this form is present to welcome the person and then
forward on into the order entry system. The JS timeout is set to move
them on automatically after a brief moment if they do yout press the
PROCEED button. In Netscape, the submit is handled by MV just as if the
button were clicked. In IE, MV reports:
dell400.mmaz.com YYWKwddI:mmaz.com - [08/March/1999:15:56:39 +0000]
midwest-mi /cgi-bin/midwest-mi/process Difficulty interacting with
browser: No action passed from form
which is common when the form and MV variables are not setup correctly
yet if the button is clicked before the timeout, it works fine, so I
know it has to get back to the fact that MS Jscript is different than
Netscape's JavaScript.
Any script experts out there that have a clue on how to get this to
behave?
Barry
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list