fancybox and msg conflict – Object function has no method-Collection of common programming errors
I got these two scripts working at on my page:
$(document).ready(function() {
$(".various").fancybox();
});
wich is opening a lightbox with ajax content and the following:
$('.check_item_delete.edit').bind( 'click', function(){
$.msg({ content : 'blah blah' });
});
wich is a kind of modal script.
the triggering elements are those:
Vorversion
löschen
(6) bla bla bla
Veröffentlicht von xxx vor 48 Minuten am 15.12.2012 22:56 (AR)
Everything is working fine. But when I once opened the fancybox and then like to open the jquery.msg modal I get the following error:
Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no method ‘msg’ (anonymous function)
Im working with http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js and the new versions of fancybox 2 and jquery.msg
Anybody got an idea?
Originally posted 2013-11-29 06:07:57.