<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@mdo">Open modal for @mdo</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@fat">Open modal for @fat</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@getbootstrap">Open modal for @getbootstrap</button>
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">New message</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<div class="form-group">
<label for="recipient-name" class="form-control-label">Recipient:</label>
<input type="text" class="form-control" id="recipient-name">
</div>
<div class="form-group">
<label for="message-text" class="form-control-label">Message:</label>
<textarea class="form-control" id="message-text"></textarea>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Send message</button>
</div>
</div>
</div>
</div>
Tuesday, 10 October 2017
Bootstrap Varying modal content
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2017
(142)
-
▼
October
(10)
- How long is a .NET DateTime/TimeSpan tick?
- Fractional Seconds in Time Values
- Powershell DB Restore
- Remove time from SQL Date
- SQL Database Restore
- ASP.NET MVC 4 partial view
- Fluent NHibernate Deleting multiple objects
- Uploading a File (Or Files) With ASP.NET MVC
- Bootstrap Varying modal content
- How to read the content of the file using Fileupload
-
▼
October
(10)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.