I have this sample page that I made, and it works fine in FF and Safari. But does not work in IE (all versions). I am currently using IE8, but it did not work on IE7 either. However, it used to work on this computer. Also, it is not an IE8 bug because it works in IE8 on other computers. So, I know this is not a coding error, but how do I fix my IE so it starts to understand "return false" again? This also affects a whole lot of sites out there using return false. Because it simply does not work on ANY site in my IE.
It is very difficult testing new code (especially AJAX related things) when return false does not work and IE actually opens up all links that are clicked on even when its returned as false.
I desperately want to solve this issue, however, I'd like to do anything but re-install Vista.
[HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<body>
<a id="lnkClick" href="http://google.com/" onclick="return false;">Click this</a>
</body>
</html>[/HTML]
It is very difficult testing new code (especially AJAX related things) when return false does not work and IE actually opens up all links that are clicked on even when its returned as false.
I desperately want to solve this issue, however, I'd like to do anything but re-install Vista.
[HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<body>
<a id="lnkClick" href="http://google.com/" onclick="return false;">Click this</a>
</body>
</html>[/HTML]
Comment