Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

prevent close modal when click outside

$('#myModal').modal({
    backdrop: 'static',
    keyboard: false
})

or in HTML
<a data-controls-modal="your_div_id" data-backdrop="static" data-keyboard="false" href="#">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #prevent #close #modal #click
ADD COMMENT
Topic
Name
4+1 =