Results 1 to 7 of 7

Thread: works on IE, but not on Netscape?

  1. #1

    Thread Starter
    Hyperactive Member billwagnon's Avatar
    Join Date
    Jul 1999
    Location
    St. Louis, Missouri, Mississippi Valley
    Posts
    290

    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>

  2. #2

    Thread Starter
    Hyperactive Member billwagnon's Avatar
    Join Date
    Jul 1999
    Location
    St. Louis, Missouri, Mississippi Valley
    Posts
    290
    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

  3. #3
    Fanatic Member Kings's Avatar
    Join Date
    Aug 2001
    Posts
    673
    yes, netscape has some problems with CSS sometimes
    K i n g s

  4. #4

    Thread Starter
    Hyperactive Member billwagnon's Avatar
    Join Date
    Jul 1999
    Location
    St. Louis, Missouri, Mississippi Valley
    Posts
    290
    is there a resource that will tell me what works for BOTH ie and netscape?

  5. #5

    Thread Starter
    Hyperactive Member billwagnon's Avatar
    Join Date
    Jul 1999
    Location
    St. Louis, Missouri, Mississippi Valley
    Posts
    290
    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!

  6. #6
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    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.

  7. #7

    Thread Starter
    Hyperactive Member billwagnon's Avatar
    Join Date
    Jul 1999
    Location
    St. Louis, Missouri, Mississippi Valley
    Posts
    290
    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
  •  



Click Here to Expand Forum to Full Width