Hi,
I'm trying to add a bit of code behind a button to close the current window. I've had partial success but not quite sussed it.
The two styles of 'close' code I've seen are:
Close Window Button:
<form>
<input type="button" value="Close Window" onClick="self.close()">
</form>
Close Window Text Link:
<a href="Javascript:self.close();">Close Window</a>
I've used the button style with success in the placeholder field for my bespoke button. It works but a standard style form button appears instead of my bespoke button.
This is probably a real 'school boy error' but it's getting a bit frustrating.
Can anyone tell me the correct way to achieve this please?
Thanks in advance & Best Regards.
TD
Bookmarks