The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Other › Rethinking Dynamic Page Replacing Content
I’m using the tutorial in “Rethinking Dynamic Page Replacing Content” to load content into a div.
I’ve got a nav tag with a ul list with several a tags that when clicked will triger the function to load content.
Inside the loaded content there is another nav tag, with a ul list and several a tags.
I want to apply the same function to these a tags but I can’t.
tried this: $(“nav”).on(“click”, “a”, function() { …. })
How can I do this?