JointLantic

peoplecode close current window

peoplecode close current window

how to peoplecode close current window by javascript

<script language=’JavaScript’>
function close_win0()
{
top.window.close();
}
</script>

<input type=’url’ name=’Quit’ id=’Quit’
value=”close window” ” onclick=”close_win0();” />

<input type=’button’ name=’Quit’ id=’Quit’
value=”close window” ” onclick=”close_win0();” />

<a href=”javascript:close_win0();”>Close Window</a>

Exit mobile version