[jQuery] Close Thickbox and Make the Parent Window go to href
Here's a function I have that doesn't quite do what I want it too:
$('.closeWindow').click(function(){
parent.tb_remove(); //This closes the thickbox
parent.location.href=$(this).href(); // This tries to load the href
url in the thickbox right as it closes it
});
What can I replace parent.location.href=$(this).href(); with to make
this parent window go to the correct url?