Can someone tell me why this doesn't work? I'm trying to pop a page
if someone exits a page and a checkbox is left unchecked.
// Start onUnload script//
function noBuy(){
if (agree.checked == false )
{
newwindow=window.open('http://www.mysite.com','name','height=500,width=500,scrol lbars=yes');
if (window.focus) {newwindow.focus()
return false;
}
else
return true;}
// End -->