Hey all,
I am trying to execute a function when thickbox gets closed.
using the code below I can get the alert box to run:
$("#TB_closeWindowButton").click(
function(){
alert('d');
TB_remove();
});
but if I use:
function TB_show(caption, url, imageGroup, fn) <-- added "fn"
$("#TB_closeWindowButton").click(
function(){
fn;
TB_remove();
})
TB_show(null,"../photo/?id="+<?=$_GET['id'];?>+"TB_iframe=true&height=200&width=600",false,"alert('h')");
I have no luck, thanks.
--
View this message in context:
http://www.nabble.com/executing-a-function-thickbox-closes-tf2729551.html#a7613285
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/