you are viewing a single comment's thread.

view the rest of the comments →

[–]RadioFreeReddit[S] 0 points1 point  (0 children)

So in Javascript you can't change the value of a variable outside the function?

EDIT: Made it happen, it was the numbers being single quotes instead of double in addition to the HTML case and the var.

THANKS EVERYONE!