Basically, I\'m trying to make a link that, when pressed, will hide the current body div tag and show another one in its place, unfortunately, when I click the link, the fir
just use a jquery event listner , click event. let the class of the link is lb... i am considering body as a div as you said...
$('.lb').click(function() { $('#body1').show(); $('#body').hide(); });