saribe / eModal

Easy Modal for bootstrap, is a simple way to create modal dialogs using javascript.
http://saribe.github.io/eModal
271 stars 97 forks source link

Uncaught TypeError: e.ajax(...).success is not a function #58

Closed priyank780 closed 8 years ago

priyank780 commented 8 years ago

return t.url && e.extend(s, t), e.ajax({ url: s.url, dataType: "text" }).success(r).fail(l),

I'm using JQuery version 3.1.1.

As Jquery removed success method, you should use .done() method

saribe commented 8 years ago

Hi, tnx for the suggestion, please make sure you have the eModal.js v1.2.65

priyank780 commented 8 years ago

Thanks man for the quick fix.