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.

http://www.w3schools.com/jsref/prop_win_closed.asp


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -