Results 1 to 3 of 3

Thread: Errorless Firefox Problem

  1. #1
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Errorless Firefox Problem

    http://www.cincoptimo.com/headsetDemo.php

    Firefox just won't load the page without an error in the console. Firebug shows the body tag truncated and self-terminating. Viewing the source shows the correct html that should be rendered. I would search the forums for help, but really what should I search for? The page loads fine in Opera and Safari.

    I'm clueless. Anybody seen this before or have a solution? Thanx.

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    I think it's something to do with <script type="text/javascript" src="headset.js" /> . That's where my color coding ends in my view source in flock.

    Describe
    Firefox just won't load the page without an error in the console.
    Do you mean there is an error displaying or there is no error but there should be? If the first then what is the error? If the second then that may be because it finds nothing wrong with your javascript but thinks that's where it ends. This problem is not limited to Firefox howver. My knowledge of javascript however is limited to the parts of what it can do sorry I can't help you there.

  3. #3
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Don't use xhtml, please read this article:
    http://www.webdevout.net/articles/beware-of-xhtml

    Now if you read the article you will understand that your page is being rendered as html and the following code is invalid:
    Code:
    <script type="text/javascript" src="headset.js" />
    Change it to this:
    Code:
    <script type="text/javascript" src="headset.js"></script>
    Good luck!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •