I am getting a file name on image click like this
<a href="#" class="aclick" >
<img data-link="petroliumjelly.php" src="productsimgs/petroliumjelly.png" class="img-responsive" id="2">
</a>
Now there pops up a modal window here and i have the page link petroliumjelly.php that i want to open in that modal window .
<script type="text/javascript" language="javascript">
$(".aclick").click(function (e) {
e.preventDefault();
var id = $(this).attr('id');
var link = $(this).data("data-link");
console.log(id);
console.log(link);
$('#modal_'+id).modal('show');
$page = $(this).find('img').attr("data-link");
//$('.modal-body')// load page her
});
</script>
How can i load that page in modal window please help .