[jQuery] jqModal hash undefined
Hi,
I'm having problems with hash
$("a.iwmodal").live("click",function(event){
event.preventDefault();
var target = $("#infowindow");
target.jqm({
ajax: $(this).attr("href"),
trigger: $(this),
modal: true,
overlay: 60,
onLoad: modal_options,
onHide: function(hash) {
hash.w.fadeOut("200",function(){
hash.o.remove();
target.html("");
});
}
}).jqmShow(); ;
});
var modal_options = function(hash){
alert(hash.t);
}
I always get hash.t is undefined. Please help. i need to pass trigger
to "modal_options". And hash won't work.
Thank you