Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if checkbox is checked open modal popup

$('input[type="checkbox"]').on('change', function(e){
   if(e.target.checked){
     $('#myModal').modal();
   }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #checkbox #checked #open #modal #popup
ADD COMMENT
Topic
Name
7+1 =