|
-
May 2nd, 2002, 11:32 AM
#1
Thread Starter
Hyperactive Member
works on IE, but not on Netscape?
The following auto-submit code works fine in IE, but doesn't in Netscape. Is there page forwarding code that works for both IE6 and Netscape 6.2.2?
Code:
<!--autosubmit form For user changes return To adminusers.asp-->
<form name="form1" action="adminusers.asp" method="post">
<input type="hidden" name="companyid" value="<%=Request.Form("CompanyId")%>">
<input type="hidden" name="status" value="<%=Request.Form("status")%>">
<input type="hidden" name="userid" value="<%=Request.Form("userid")%>">
</form>
<script>document.form1.submit();</script>
-
May 2nd, 2002, 11:45 AM
#2
Thread Starter
Hyperactive Member
also, it looks like all my beautiful CSS formatting was for naught...well, not all of it, which is weird. I guess some formatting works and some doesn't
-
May 2nd, 2002, 11:46 AM
#3
Fanatic Member
yes, netscape has some problems with CSS sometimes
-
May 2nd, 2002, 11:47 AM
#4
Thread Starter
Hyperactive Member
is there a resource that will tell me what works for BOTH ie and netscape?
-
May 2nd, 2002, 11:50 AM
#5
Thread Starter
Hyperactive Member
It looks like if I put a 'submit' button on the form, then the autosubmit code works.
One weird thing is on my login - the user puts in their information, then submits. In IE, with good password you just go to the next page. In Netscape, it shows the error message (bad password, etc) then takes you to the next page. arrggh!
-
May 2nd, 2002, 11:53 AM
#6
Frenzied Member
Ohmygod!!!
Okay, I'm going to suspect that Netscape has better CSS support than IE.
Aside from that, the authoritative, definitive guide to CSS can be found at the W3C.
As to the form submission, yes, that is probably not correctly formated JavaScript. The aurhoritative, definitive guide to JavaScript can be found at Netscape. The ECMA 262 mappings to the HTML DOM and the DOM itself can both be found at the W3C.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
May 2nd, 2002, 11:54 AM
#7
Thread Starter
Hyperactive Member
cool, thanks for the links CiderTHuG!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|