[jQuery] jqmodal NOT working inside $.ajax callback function
Hi.
I'm trying to do something and it's not working:
$.ajax({
type: "POST",
url: "myPhpFile.php",
data: "someArgument="+someArgument,
dataType: "json",
success: function(msg){
$('#someID').jqm({ajax: '@href', trigger: 'a.trigger'});
}
});
When I click the links with the "trigger" class, there is no modal window
poping-up. Instead, the link is followed in the classic manner. Any idea why
the jqm call isnt working?
Thanks
--
View this message in context: http://www.nabble.com/jqmodal-NOT-working-inside-%24.ajax-callback-function-tf4718946s27240.html#a13490148
Sent from the jQuery General Discussion mailing list archive at Nabble.com.