Using Bootstrap, have alert box remember close action
I am trying to create a Bootstrap alert box that remembers when users click the close button. I guess I need to store that information in a cookie. Ideally that cookie will only last for that current session, and next they return the box will appear again. I am using the jQuery-Cookie plugin. I uploaded it to /jquery-cookie-master . Plugin can be found here . This is what I've got so far by following code found here . <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script src="/jquery-cookie-master/jquery.cookie.js"></script> <script> function runOnLoad