daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Mar 14th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var clickedHeading = $(".workSpaceManagement > .workSpaceScroller > h4").text();
  2.  
  3.    
  4.  
  5.     $(".workSpaceManagement > .workSpaceScroller > h4")
  6.  
  7.         .click(function() {
  8.  
  9.             var listCollapseIdName = this.id;
  10.  
  11.            
  12.  
  13.             // I want this guy to only select the ul with the class that matches the ID from above
  14.  
  15.             $(".workSpaceManagement > .workSpaceScroller > ul").toggle('slide',{direction: 'up'});     
  16.  
  17.         });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top