on button click show collapse div jquery 1

on button click show collapse div jquery



  • Item
  • Item
  • Item
  • Item

Here is what the above code is Doing:
1. We have a button that will toggle the expand/collapse of the list.
2. We have a wrapper div that will contain the list.
3. We have a list that will be expanded/collapsed.

Now, let’s add some CSS to make the list look like a tree:

Similar Posts