Hi
I am developing a webpage using asp.net.
I use some links on my web page. For this, I used some code like this.
<a href="javascript:void(0);" onclick="javascript:ChangeLoc('TEST','');">Test</a>
and in the method ChangeLoc()I wrote an event __doPostBack.
This works fine in IE7 installed on my machine. But in IE6 on another computer, it does not raise an event __doPostBack.
Edit
When I change void (0) in href, it works fine.
I would like to know if this is a bug with IE or a JavaScript problem.
function ChangeLoc( param, arg )
{
__doPostBack ( param, arg )
}
source
share