Link to home
Start Free TrialLog in
Avatar of Odyssey
Odyssey

asked on

onClick close window with frameset

I need a script that will close a frameset, somewhat like <A HREF="javscript:self.close">Close</A>.

The above does not work in a frameset.
Avatar of Odyssey
Odyssey

ASKER

Edited text of question
Try:

<a href="JavaScript:top.window.close()">Close this window</A>

Kurt
Avatar of Odyssey

ASKER

Thanks.  I'll accept it as an answer if you post it.
ASKER CERTIFIED SOLUTION
Avatar of kmartin7
kmartin7
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial