If you want to use jQuery then you can do this:
<ul id='mainTabs'>
<li><a href="https://stackoverflow.com/questions/28454221/music_details.jsp">Music</a></li>
<li><a href="dance_details.jsp">Dance</a></li>
</ul>
then you can do this in jQuery:
$('#mainTabs a').click(function(e){
e.preventDefault();
$('#div_displayfrom').load(this.getAttribute('href'));
});
1
solved Targeting anchor tag to div tag in same page