Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript [Solved] Check My jQuery

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26772
    cybershot
    Participant

    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

    #66634
    cybershot
    Participant

    figured it out.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.