Friday, February 23, 2024
 Popular · Latest · Hot · Upcoming
179
rated 0 times [  183] [ 4]  / answers: 1 / hits: 118161  / 11 Years ago, thu, september 19, 2013, 12:00:00

Hi I'm using Bootstrap for the first time and I can't get my modal form to stay open on clicking the submit button.
I've searched SO but all related questions deal with slightly different issues (example below).



Disallow twitter bootstrap modal window from closing


More From » css

 Answers
312

look at => http://getbootstrap.com/2.3.2/javascript.html#modals



use



data-backdrop=static


or



$(#yourModal).modal({backdrop: static});


Edit1 :



on your link opening your modal ==>



<a href=# onclick=$('#yourModal').modal({'backdrop': 'static'}); class=btn btn-primary>yourModal</a>


Edit2 :



http://jsfiddle.net/BVmUL/39/


[#75592] Wednesday, September 18, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dillionsalvadorg

Total Points: 288
Total Questions: 103
Total Answers: 75

Location: South Korea
Member since Sat, Oct 2, 2021
2 Years ago
;