javascript - not submit form of parent window when child window is open -
i write code..but want not submit form of parent window when child window open
<script language="javascript"> function popwindow(page) { openwin = this.open(page,"ctrlwindow","top=80,left=100,screenx=100,screeny=80,width=600,height=400,status=yes,toolbar=no,menubar=no,location=no, scrollbars=yes,resizable=yes"); openwin.focus(); return false; } </script>
there's closed
property window, check openwin.closed.
Comments
Post a Comment