What is the difference between the following two lines of code?$('#Mymodalprompt').modal({ keyboard: false });$.fn.modal.constructor.defaults.keyboard = false;?
Answer / Chetendra Kumar
The first line disables the keyboard navigation for a specific modal with the id '#Mymodalprompt'. The second line sets the default behavior of all modals to disable the keyboard navigation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which classes can be applied to button group instead of resizing each button?
Is bootstrap browser compatibility?
Explain what is the purpose of .media-list class in bootstrap?
What are glyphicons?
Do you know what dependencies does bootstrap require for it to work properly?
How to customize thumbnails using Bootstrap?
How to order columns in bootstrap?
Tell me what media object in bootstrap is and what are their types?
What is bootstrap development?
What are advantages of bootstrap development?
Why use bootstrap 4?
Tell us what is class loaders in bootstrap?