148
rated 0 times
[
154]
[
6]
/ answers: 1 / hits: 24567
/ 15 Years ago, fri, may 8, 2009, 12:00:00
HI,
I am developing a web page using asp.net.
I am using some links in my web page. For that I have used some code like this.
<a href=javascript:void(0); onclick=javascript:ChangeLoc('TEST','');>Test</a>
and in the ChangeLoc()
method I have written __doPostBack
event.
This works fine in IE7 installed in my machine. But in IE6 in another machine it does not invoke the __doPostBack
event.
Edit
When I change the void(0) in href it works fine.
I would like to know whether it is a bug with IE or a JavaScript problem.
function ChangeLoc( param, arg )
{
__doPostBack ( param, arg )
}
More From » internet-explorer