joaopereirawd/animatedModal.js

open animatedModal after ajax request

morteza-gho opened this issue · 4 comments

Hi, how to open animatedModal after ajax request?

waiting for same issue response

Me too

its easy... modify modal.click handler to modal.on('open', function(){...})
then use $(selector).trigger('open') in your ajax success.

in success function trigger the click event manually.
eg success : function(response){ $("#your-id-name").trigger('click'); }