Hello,
I'm trying to have a popup window on my site without having the link I click on to open the popup cause a postback. I've tried server-side hyperlinks and linkbuttons (which both postback by default) setting the onclick event to return false and had enabled = false on both of the them but the postback still occured.
Now I'm trying just a plain html anchor tag:
<a onclick="return LoadHelp();">click me</a>
With this javascript:
function LoadHelp() {
var newWin = window.open("scrhelp.aspx", "Help", "location=0,status=0,scrollbars=1,width=400,height=400");
newWin.focus();
return false;
}
And I still have a postback occurring. Any ideas as to what I can do to prevent the page from posting back?
Thanks!