Yah!! It's Possible Friends, Open Bootstrap Modal in call to another page i mean open a bootstrap modal in another page. I search so many time but not a proper answer. so finally i created a new demo. so follow this steps.
First Create a Page1.html and add button tag inside a body tag.
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">Modal Demo</button>
Second add a Jquery Ajax load inside a script function Call to Another Page.
$(document).ready(function(){
$("modalLoad").load(function);
});
end of the page1 stuff. let's create a page2 stuff so please follow this steps.
Page2 Just copy and past this bootstrap modal code here.
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
Download Demo File

0 comments:
Thnak You For Comment And For Your Question, Answer Very Soon.