Menu

#6 JavaScript Variable Declarations In wick.js

open-accepted
None
5
2005-11-02
2005-07-13
John Topley
No

Can variables please be declared using "var". I've just
spent an hour tracking down a problem caused because
my page has a div assigned an ID of "content". WICK
was blowing up in IE 6.0 on line 218:

content = getSmartInputBoxContent();

Changing this to:

var content = getSmartInputBoxContent();

...fixed the problem.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I ran into this problem as well with WinXp running IE 6.0.
    using the var declaration solved the issue. Thanks!
    Travster12@hotmail.com

     
  • Chris Holland

    Chris Holland - 2005-08-12

    Logged In: YES
    user_id=248425

    o yikes good point. sorry about that.

     
  • Chris Holland

    Chris Holland - 2005-11-02
    • assigned_to: nobody --> valmont
    • status: open --> open-accepted
     
  • Nobody/Anonymous

    Confirming this bug; spent way more than an hour trackign this down :)

     

Log in to post a comment.