javascript - onclick event jquery+angular trigger click event 3 times -
i using jquery + onsen ui uses angular. can't de element event click using
$(element).click(function(){});
then using way
$(".list").on("click",".item-from-list",function(){
ok, works. problem is: list inside ons-carousel has 3 slides 3 different lists, same class want click.
when click in list item, triggers click event 3 times. should do?
thanks.
have tried looking @ event.stoppropagation()?
description: prevents event bubbling dom tree, preventing parent handlers being notified of event.
Comments
Post a Comment