How do I adjust this JS code to make content work after it's been dynamically loaded using AJAX?

The test that I put together from your code results in the menu collapsing and showing itself when clicking on Category. Is that different from what is supposed to occur?

1 Like