czukoman20 Posted March 12, 2008 Share Posted March 12, 2008 Is there a way to make a close page link or button? Quote Link to comment Share on other sites More sharing options...
phpSensei Posted March 12, 2008 Share Posted March 12, 2008 <a href="javascript:window.close();">Close Window</a> Quote Link to comment Share on other sites More sharing options...
phpSensei Posted March 12, 2008 Share Posted March 12, 2008 edit: Try <script language="javascript" type="text/javascript"> function closeWindow() { window.open('','_parent',''); window.close(); } </script> <a href="javascript:closeWindow();">Close Window</a> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.