Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

modal in bootstrap 4

$('#myModal').modal('toggle')
Comment

modal bootstrap 4

<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">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form>
          <div class="form-group">
            <label for="recipient-name" class="col-form-label">Recipient:</label>
            <input type="text" class="form-control" id="recipient-name">
          </div>
          <div class="form-group">
            <label for="message-text" class="col-form-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>
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# split string into characters 
Csharp :: C# Console multi language 
Csharp :: lat long data type c# 
Csharp :: c# run file 
Csharp :: C# get string as stream 
Csharp :: run linux command in c# 
Csharp :: getname of month from date c# 
Csharp :: c# how to terminate console application 
Csharp :: enable fullscreen unity code 
Csharp :: c# palidrone 
Csharp :: c# streamwriter 
Csharp :: how to get key value from json object in c# 
Csharp :: loop over enum values 
Csharp :: jarray to list c# 
Csharp :: c# how to get connection string from app config 
Csharp :: unity point between two positions 
Csharp :: c# list of strings 
Csharp :: how to convert string to int in c# 
Csharp :: add rotation unity c# 
Csharp :: how to make a singleton in unity 
Csharp :: httpclient soap request c# 
Csharp :: how to redirect to extern page in .net core 
Csharp :: c# minus days from datetime 
Csharp :: rotating an object in unity 
Csharp :: .net framework get configuration value from web.config 
Csharp :: read embedded resource c# xml 
Csharp :: defaultrequestheaders.authorization basic auth 
Csharp :: switch case c# 
Csharp :: byte to binary c# 
Csharp :: c# convert int to string 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =