My Programming Tricks
Labels
HTML
Table
Input
iFrame
CSS
Javascript
IE
Firefox
Animation
Other
PHP
Facebook
Monday, August 20, 2012
Weird Chrome Javascript Problem
I encounter this today that the Javascript
var top
cannot be used in Chrome. Weird. It works well in Safari and IE. In Chrome, the variable name is stored as [Object Window]. Solution: Just rename
top
variable to something else.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment