Created
October 23, 2016 05:16
-
-
Save ibejohn818/c96a899d3038551240b6752450e2ca42 to your computer and use it in GitHub Desktop.
Bootstrap 3 Modal Javascript Var
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var modalHTML ='<div class="modal fade" tabindex="-1" role="dialog">'+ | |
'<div class="modal-dialog" role="document">'+ | |
'<div class="modal-content">'+ | |
'<div class="modal-header">'+ | |
'<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>'+ | |
'<h4 class="modal-title">Modal title</h4>'+ | |
'</div>'+ | |
'<div class="modal-body">'+ | |
'<p>One fine body…</p>'+ | |
'</div>'+ | |
'<div class="modal-footer">'+ | |
'<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>'+ | |
'<button type="button" class="btn btn-primary">Save changes</button>'+ | |
'</div>'+ | |
'</div><!-- /.modal-content -->'+ | |
'</div><!-- /.modal-dialog -->'+ | |
'</div><!-- /.modal -->'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment