Skip to content

Instantly share code, notes, and snippets.

View vai21's full-sized avatar
🏠
Working from home

Faisal vai21

🏠
Working from home
View GitHub Profile
@vai21
vai21 / gist:b83455df4c4f0d0aac7f0a7a25665175
Created March 7, 2017 13:47 — forked from MrDys/gist:3512455
Link directly to an open modal window in Bootstrap
/* If you've ever had the need to link directly to an open modal window with Bootstrap, here's a quick and easy way to do it:
Make sure your modal has an id:
<div class="modal" id="myModal" ... >
Then stick this bit of Javascript at at the end of your document:
*/
$(document).ready(function() {