show a bootstrap modal for x seconds code example Example: showing bootstrap modal after a delay setTimeout(function() { $('#myModal').modal(); }, 2000);