Search
 
SCRIPT & CODE EXAMPLE
 

HTML

disable close from screen modal popup

<!-- opening with html, the key is the data-backdrop="static" attribute -->
<button data-target="#myModal" data-toggle="modal" data-backdrop="static" data-keyboard="false">
    Launch demo modal
 </button>
 
<script>
//Opening with JS:
$('#myModal').modal({backdrop: 'static', keyboard: false})  
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: how to add telephone number in html 
Html :: name validation html 
Html :: what is the html code of changing color 
Html :: how to add a image file in html 
Html :: install php windows 10 
Html :: github icon html 
Html :: how to change html code of a website 
Html :: html table multiple headers 
Html :: html abbreviation 
Html :: bootstrap 4 setup 
Html :: space html 
Html :: html chatbot 
Html :: html color code for green 
Html :: html qr code generator 
Html :: html boilerplate vscode 
Html :: content editable 
Html :: lato google fonts 
Html :: curl html file 
Html :: v-progress-circular 
Html :: alert tailwind css 
Html :: change text width html 
Html :: html mobile app template 
Html :: how to write 2 class in html 
Html :: on button click video popup in html 
Html :: html link confirm 
Html :: placeholder in date input html 
Html :: html single quote code 
Html :: html accordion generator 
Html :: set text of file input 
Html :: css image slideshow 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =