I want this modal load 5 second letter. How to set jquery time set.
jQuery(window).load(function(){
jQuery('#myModal').modal('show');
});
I want this modal load 5 second letter. How to set jquery time set.
jQuery(window).load(function(){
jQuery('#myModal').modal('show');
});
Use setTimeout to add a delay to a function/action.
jQuery(window).load(function(){
setTimeout(function() {
jQuery('#myModal').modal('show');
}, 5000);
});