click() not working in Chrome
Tuesday, January 24th, 2012 at
I have code like
1: var link = document.getElementById("myLink");
and it is working in all browsers (really tested in IE8 and FF9) but not in Chrome.
Stackoverflow has three questions about this issue without workaround.
People speak about some security limits.
And voila – solution:
1: var link = document.getElementById("myLink"); //existing code
or pure jQuery style:
Like this post? Subscribe to my RSS feed and get loads more!