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 |
What is the bootstrap basic table?
What is grid system and list some grid classes?
How to use glyphicons?
What are different shapes for image in bootstrap?
Why bootstrap is used for mobile web development?
How to give a style to images in bootstrap?
tell me which class is used for basic pagination?
How many different media queries are used by the Bootstrap grid system by default?
Describe bootstrap panel?
Explain about bootstrap benefits?
Can we make images responsive in bootstrap?
Explain what is column offset in bootstrap?