SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Evangelist venkat6134's Avatar
    Join Date
    Jul 2010
    Posts
    454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Done, but with errors on page] What is the error, i can't figure it out?

    Hi all,
    This is the page, i want to test it in both Mozilla and IE. (after loading without submitting the page on browser.)
    Design Cable

    In Mozilla,
    after loading the page, status bar shows 'Done'.
    But in IE(means IE8),
    after loading the page, status bar shows 'Done, but with errors on page'.

    Can any one make it clear, where the error is?

    Thanking you...

  2. #2
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    This usually indicates a JavaScript problem, is it valid code?
    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.

  3. #3
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Download the web developers toolbar for Firefox and it will give you the error messages in a more 'human' way.

    Error: missing ; before statement
    Source File: Design Cable
    Line: 1, Column: 35
    Source Code: document.form.drop_2.selectedvalue=Choose One

    So change to:
    Code:
    <body onload="document.form.drop_2.selectedvalue='Choose One'">
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  4. #4
    SitePoint Evangelist venkat6134's Avatar
    Join Date
    Jul 2010
    Posts
    454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you, SpikeZ.
    Now the error has gone after i changed as you suggested...


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
  •