Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

javascript modal close

$('#closemodal').click(function() {
    $('#modalwindow').modal('hide');
});
Comment

when modal close event

$("yourid").on('hide.bs.modal', function(){
	// do it here
});
Comment

Close Modal

 .close.mat-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    line-height: 14px;
    min-width: auto;
}
   <button class="close" mat-button [mat-dialog-close]="true">X</button>

Comment

PREVIOUS NEXT
Code Example
Javascript :: if radio checked jquery 
Javascript :: Add table row in jQuery 
Javascript :: javascript get date of last monday 
Javascript :: javascript reference file two folders up 
Javascript :: search in a table jquery 
Javascript :: the engine node is incompatible with this module 
Javascript :: javascript get all script tags on page 
Javascript :: keydown jquery 
Javascript :: string to number js 
Javascript :: nodejs get current directory 
Javascript :: localstorage is not defined 
Javascript :: Clone an array using the JavaScript slice() method 
Javascript :: Handlebars: Access has been denied to resolve the property 
Javascript :: enable native bracket matching vs cide 
Javascript :: prepend element jquery 
Javascript :: javascript get if IE11 
Javascript :: laravel ajax csrf 
Javascript :: js create date from string 
Javascript :: react-native loading spinner 
Javascript :: min object value in array 
Javascript :: discord login with token 
Javascript :: popper.js install npm 
Javascript :: javascript add string to middle of string 
Javascript :: javascript one off event listener 
Javascript :: npm ERR! 503 Service Unavailable: npm@latest 
Javascript :: moment date add 
Javascript :: javascript change image src 
Javascript :: india pincode regex 
Javascript :: google charts hide legend 
Javascript :: jquery add div element 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =