Feb 5, 2004 #1 KizMar Technical User Mar 13, 2002 52 US Why is it that the following line: <script language="JavaScript">t.submit();</script> ...will submit the form in IE 6, but Netscape just sits there, like the form isn't submitting?
Why is it that the following line: <script language="JavaScript">t.submit();</script> ...will submit the form in IE 6, but Netscape just sits there, like the form isn't submitting?
Feb 5, 2004 1 #2 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB You'd need to post the rest of your code for us to decipher that one. Dan Upvote 0 Downvote
Feb 6, 2004 Thread starter #3 KizMar Technical User Mar 13, 2002 52 US <%@ Language=VBScript %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Please wait...</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table height="100%" width="100%" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td><td> </tr> </table> <form name="t" id="t" action="filename.aspx" method="post"> <input type="hidden" name="SessionVar" value=<% Session("SessionVar" %>> </form> <script language="JavaScript">t.submit();</script> </body> </html> Upvote 0 Downvote
<%@ Language=VBScript %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Please wait...</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table height="100%" width="100%" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td><td> </tr> </table> <form name="t" id="t" action="filename.aspx" method="post"> <input type="hidden" name="SessionVar" value=<% Session("SessionVar" %>> </form> <script language="JavaScript">t.submit();</script> </body> </html>
Feb 6, 2004 #4 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB Try using: Code: <script language="JavaScript">document.forms['t'].submit();</script> Hope this helps, Dan Upvote 0 Downvote
Try using: Code: <script language="JavaScript">document.forms['t'].submit();</script> Hope this helps, Dan
Feb 6, 2004 Thread starter #5 KizMar Technical User Mar 13, 2002 52 US That sure did work, thank you! Upvote 0 Downvote