BootStrap modal box disables clicking on the blank space to close it

WBOY
Release: 2016-10-22 00:00:16
Original
1015 people have browsed it

The modal box is an information editing window, which involves a lot of content. It took me a long time to fill it in. If I accidentally click on the blank space...

<span style="font-size: 14px">$('#myModal').modal({backdrop: 'static', keyboard: <span style="color: #0000ff">false</span></span><span style="color: #000000"><span style="font-size: 14px">});</span><br></span>
Copy after login
<span style="font-size: 16px">backdrop:static //空白处不关闭.

keyboard:false //esc键盘不关闭.</span>
Copy after login

The above code is used to open the modal box

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!