The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Webkit and Variables?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #29886

    I created a few variables and put them into an IF statement.

    It almost worked cross-browser.. It even worked in IE6, however, Chrome refused to see the variables properly. (I’m assuming I would have the same problem in Safari).
    I did a bit of debugging and finally realized that the variables were the problem. I managed to fix this, but now I have an IF statement that is illegible due to it’s length.

    Is there something simple that could take care of this problem and I’m not aware of?


    I think I figured out what the problem was.

    Some of the variables began with a dollar sign, and chrome seems to dislike that.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.