I am trying to hide some content when a link is clicked. Not having any luck. When the services link is clicked, I want the content of a div to be hidden so that I can append new content to that div
Here is my nav
here is the jquery I tried
Code:
$(document).ready(function() {
$(‘#bottomContent’).show();
$(‘ #services’).click(function(){
$(‘#bottomContent’).hide(); )};
});
So I want the hide the content that is in the div with id="bottomContent" Then when I get this working, the idea will be to append some new content that I want to use a php include to append