469,645 Members | 1,752 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

Why is onclick not firing in FireFox?

I am rendering the following HTML elements in a firefox browser, but when I click on the image in the anchor tag no alert box appears. Any thoughts on why?

Expand|Select|Wrap|Line Numbers
  1. <a onclick=”javascript:alert('1');return false;” href="#"><img src="/notes.ico.png" style="border:none;"/></a>
Browser platform:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100830 Red Hat/3.6-2.el5 Firefox/3.6.9
Oct 28 '10 #1
1 1559
Dormilich
8,652 Expert Mod 8TB
maybe it help when you replace the typographical quotation marks by regular ones.
Oct 28 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by realraven2000 | last post: by
3 posts views Thread by jeff29_b | last post: by
8 posts views Thread by Dan Rumney | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.