how to close a frame (*.htm) window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi I have a frame and have a logg off button that I want to close the window and end the application. Since it is a frame not quite sure how to do this? Tried
<script language="javascript" event="onclick()" for="btn_logoff">
window.close();
</script>
but did not seem to work.
thanks
 
Hi I have a frame and have a logg off button that I want to close the
window and end the application. Since it is a frame not quite sure
how to do this? Tried <script language="javascript" event="onclick()"
for="btn_logoff">
window.close();
</script>
but did not seem to work.
thanks

Try

<input type=button value="Close Window" onClick="javascript:window.close
();">
 
Back
Top