$('#modal-window').modal({
lockClass: 'modal-lock',
overlayClass: 'modal-overlay',
closeOnEsc: false,
closeOnOverlayClick: false,
onBeforeClose: null,
onClose: null,
onOpen: function(el, options){
$.get('http://'+siteroot+modalPath+modalContent+'.php', function(data){
el.html(data);
});
},
cloning: true
}).open();
I'm using this. But when it openes the php file it just dumps the content in "modal-overlay" div.
Am i missing something here?
I'm using this. But when it openes the php file it just dumps the content in "modal-overlay" div.
Am i missing something here?