I have this code to load the content from another file
$(document).ready(function(){
$("button").click(function(){
$("#divA").load("book.html #divB");
});
});
</script>
<button>Get</button>
This works, but I need the same thing with click on a link, instead of button
<a href="book.html">Get</a>
As per the user comment
I have another links on page. Only specific link should load the content.
Simply use
ainstead ofbuttonFor specific
atry this