Bootstrap 3 - How to load content in modal body via AJAX?
As you can see here , I have a button that launches a modal. Setting an href url for the button this url is automatically loaded into modal by Bootstrap 3. The fact is this page is loaded into modal root (as said in the bootstrap 3 documentation for modals usage ). I want to load it into the modal-body instead. Is there a way to do it via attributes (not javascript)? Or what is the most automatic way to do it? P.S. I remember in Bootstrap 2 the content was loaded in the body, not the root. alexcasalboni Check this SO answer out. It looks like the only way is to provide the whole modal