Probably this info is well known diffused on the web, but since i´m loving to use ThickBox..
You are using Thickbox to open a iFrame in your site, but don´t have control of it from inside the frame?! Let´s close it as if it were a Ajax box, but calling it from the parent (you may also use parent.eval()to run any other function known to the parent)
<a onclick=" parent.eval('tb_remove()')" > [X] </a>
You may use this code inside a link along other JS, or in a Form ‘onsubmit=’, or a Button ‘onclick=’
Done!
thank you! been trying to figure this one out for a while now
I found, parent.document.tb_remove() seems to work fine also.
Thanks bro … it works, good job .. thanks again