Tuesday, 3 September 2013

Link versus onClick

Link versus onClick

I have a web application that exclusively uses AJAX so there are no full
refreshes and everything is set up as
<a href="javascript:...()">
It works really well on Chrome and Firefox but IE asks to confirm the page
reload every time I click on anything. Would it be better to change the
links to
href="#"
and make the functionality into onClick?
Thanks.

No comments:

Post a Comment