2 Replies Latest reply on Apr 16, 2010 10:53 AM by Wig Wam

    How do I find scripting errors on my page?

    Wig Wam

      The index page to my website (reglarwiglar.com) won't load in Safari or Internet Explorer (no problem in Firefox). No error message appears, just a blank page. Go Daddy says there's a scripting problem in the page somewhere, but I don't really know how to find it. Any suggestions would be greatly appreicated.

       

      Thanks.

        • 1. Re: How do I find scripting errors on my page?
          John Waller Adobe Community Professional & MVP

          Firstly, common error: missing closing HTML comment at the end of the <style> block (in the <head> section) so the browser thinks the entire page code is a HTML comment and ignores it all.

           

          Always check that HTML comments are correctly closed, particularly inside <style> blocks.

           

          Around line 130

           

          change:

           

          .style75 {color: #CCCCCC}

           

          </style>

           

          to:

           

          .style75 {color: #CCCCCC}
          -->
          </style>

           

          The "-->" tells the browser that the HTML comment (ignored by browsers) is complete and the browser should start reading and displaying the code again in the browser window.

           

          See if that helps.

          • 2. Re: How do I find scripting errors on my page?
            Wig Wam Level 1

            That did the trick, as least in Safari, I use a mac and don't have IE, but

            I'll assume that that was the culprit. I should have come here first before

            I sat on hold with Go Daddy for 30 minutes.

             

            Thanks, man!