Tim,
below are two scraps of code for a button.
With javascript (I've assumed you mean javascript for the client side) you must watch the case v. carefully.
This bit is the code to execute
[tt]
<SCRIPT LANGUAGE="JavaScript">
function java_close_window(){
window.close();
}
</SCRIPT>
[/tt]
this defines the button
[tt]
<input type="button" value="Yes" onClick="java_close_window();">
[/tt]
Does this help?
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)
below are two scraps of code for a button.
With javascript (I've assumed you mean javascript for the client side) you must watch the case v. carefully.
This bit is the code to execute
[tt]
<SCRIPT LANGUAGE="JavaScript">
function java_close_window(){
window.close();
}
</SCRIPT>
[/tt]
this defines the button
[tt]
<input type="button" value="Yes" onClick="java_close_window();">
[/tt]
Does this help?
![[smile] [smile] [smile]](/data/assets/smilies/smile.gif)