Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Rethinking Dynamic Page Replacing Content

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #45968
    mpereira
    Participant

    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?

Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.