PDA

View Full Version : Internet Explorer 6 - 7 --> click a link and LS gets Stalled


Mone
02-23-2007, 03:41 PM
Internet Explorer 7 and previous versions have a strange behavior dealing with links containing "javascript:" hrefs.

In fact if an HTML "A" element similar to the one below is used in a push-page to run javascript code, then the streaming gets stopped: <a href="javascript:myStuff()">Click</a>

You can use a link like this one to avoid the problem:
<a href="#" onclick="myStuff()">Click</a>

The issue is solved with IE8

Mone
10-22-2007, 02:18 PM
If you have no chance to change those links because them are generated by something like an ASP.NET control, check this thread (http://www.lightstreamer.com/vb/showthread.php?p=647#post647).

kalski
10-17-2008, 10:22 AM
This can be avoided with
<a href="#" onclick="myStuff(); return false;">Click</a>
Thus the href is not considered at all.