Forums

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

Home Forums JavaScript HTML5 history API – jQuery click events doesn’t working on content area

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #43130
    gbarchik
    Member

    Hello,

    I’m working on a site that is using the history API.
    It is working ok, but I have some links on dynamic content area I can’t trigger a jQuery click event.

    Code : http://cdpn.io/qGgAa

    Any help?

    #126886
    gbarchik
    Member

    I solved this using:

    $( “body” ).on(‘click’, ‘.home-area__botao’, function() {
    callHistoryAction( $(this) )
    return false
    })

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.