jQeury SlideToggle no longer working

jQeury SlideToggle no longer working

I have a WordPress page that uses the jQuery slideToggle().

I have a link that closes a content block, and another link that opens the content block.  The close function is working fine, but the open function is no longer working.

It used to work but I really don't know why it is not now. Other functions on the site are working fine, so I know the path to the jQuery is OK.

Any help would be greatly appreciate.

Here are the two jQuery functions:


  1.         // toggle function for the NAT actions content and close links

            jQuery(document).ready(function($){
      
                $('.actionsLinks').click(function(){
                  $(this).closest('.action-content').slideToggle();
                  return false;
                });
            });


            // hide function for the close answer X
            jQuery(document).ready(function($){
                $('.close').click(function(){
                  $(this).closest('.action-content').slideToggle();
                  return false;
                });
            });


Here is the code for a typical content area.  The pages validates so the HTML/CSS is OK>

  1. <a href="/" class="actionLinks">Title of the section</a>

        <div class="action-content">
           
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc cursus pellentesque hendrerit. Quisque scelerisque magna nisi, non sodales nulla pharetra id. Vestibulum lacinia sem lorem, sed aliquam mauris vestibulum sollicitudin. Pellentesque volutpat interdum nisl, quis vulputate mi dignissim eget. Aliquam erat volutpat. Curabitur semper mi eget volutpat commodo. In at neque sit amet lacus blandit interdum. Aliquam tincidunt est urna, ac egestas massa interdum in. Ut volutpat congue diam, sit amet molestie quam fermentum eget. Curabitur quis sagittis odio. Integer laoreet neque ut urna mollis, ut aliquet sem lobortis.


            <a href="/" class="close">Close section X</a>
        </div>