Tell me what is the difference between the following two lines of code?$('#Mymodalprompt').modal({ keyboard: false });$.fn.modal.constructor.defaults.keyboard = false;?
Answer / Sulekha
The first line disables the keyboard for a specific modal instance, while the second line sets the default behavior so that all new modals will have the keyboard disabled.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which class is used to draw a toolbar of buttons?
Explain me how do you use the dropdown plugin?
How Can You Enhance The Crawling Frequency By Search Engines For Your Website?
What is the step-wise procedure for creating basic or vertical forms?
What is bootstrap framework and why it is used?
Why bootstrap is used for mobile web development?
Do you know what dependencies does bootstrap require for it to work properly?
What is breadcrumb in bootstrap and how we can use it?
Do you know what are bootstrap panels?
What function you can use to wrap a page content?
Do you know what is bootstrap jumbotron?
Why do we use bootstrap carousel plugin?