I am trying to load a certain page load in fixed width div on click of a link, so far I made on clicking the link it does nothing, I given the code below can anyone help me solve it. I also Added the Fiddle.
HTML
<div id="top_Bar">
<a href="#" id="ListLink">LIST LINK TEST</a>
</div>
<div id="content"></div>
JS
$("#ListLink").click(function() {
$('#content')
.load('google.com');
});
CSS
#content{
width:300px;
height:300px;
background-color:gray;
}
Here is the fiddle for this code JsFiddle