Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

data-dismiss= modal in jquery

$(document).ready(function(){
        // Open modal on page load
        $("#myModal").modal('show');
 
        // Close modal on button click
        $(".btn").click(function(){
            $("#myModal").modal('hide');
        });
    });
Comment

data-dismiss="modal" in js

$('.close').click();
Comment

PREVIOUS NEXT
Code Example
Javascript :: firebase database check if value exists 
Javascript :: install jmeter mac 
Javascript :: noconflict jquery 
Javascript :: vuejs localstorage add value 
Javascript :: express get cookie 
Javascript :: js select class 
Javascript :: validators.pattern angular number 
Javascript :: js replace all char in string 
Javascript :: jquery only on mobile 
Javascript :: enzyme change input value 
Javascript :: jquery validate if field exists 
Javascript :: angular 8 how to iterate json object in view 
Javascript :: javascript get unique values from array 
Javascript :: javascript remove last character from string 
Javascript :: laravel ajax csrf 
Javascript :: how send to another page by router in vuejs 
Javascript :: javascript sort array with objects 
Javascript :: conditinally object property js 
Javascript :: get keys of dictionary js 
Javascript :: array to comma separated list js 
Javascript :: expo update react native 
Javascript :: google maps js on map load 
Javascript :: loopback geopoint 
Javascript :: get distance of element from top of page javascript 
Javascript :: jquery redirect to url 
Javascript :: react-native-cli remove 
Javascript :: ecmascript 
Javascript :: react native object is empty 
Javascript :: nestjs cli create project 
Javascript :: javascript loop thrown object 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =