Friday, 4 March 2016

How to rise an event when modal show / hide in JQuery


$('#modalId').on('show.bs.modal',function(){

            // place your code here

});


$('#modalId').on('hide.bs.modal',function(){

            // place your code here

});

No comments:

Post a Comment