i trying to load a html page inside the div
<a href="#1" title="" class="base-banner" page="www.google.com for example">
<img src="images" alt=""></a> <div id="landingpage"> </div>
Javascript code
$(document).ready(function() {
$(".base-banner").on("click", function(){
$("#landingpage").show().load($(this).attr("page"));
return false;
});
});
It is loading properly when i am loading a local page but if try to load a live page its not working any idea what i have done wrong and needs to done.
Thanks in advance