Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Bootstrap .modal("toggle") method
Use the .modal("toggle") method in Bootstrap to toggle the modal.
As shown below, the modal generates on the click of a button ?
$(document).ready(function(){
$("#button1").click(function(){
$("#newModal").modal("toggle");
});
});
Here is the button used above ?
You can try to run the following code to implement the modal("toggle") method ?
Example
Bootstrap Example Sample
Advertisements
