How to create click event for specific link in a jQuery listview.

后端 未结 6 514
北荒
北荒 2020-12-07 06:08

I\'m trying to create a function that starts when you click on a specific link in a listview. The issue is that event doesn\'t seem to fire when you click the link. The lis

6条回答
  •  悲&欢浪女
    2020-12-07 06:44

    Demo

    JS

    $(document).on('click', '#listviewForLastTenCalls li a', function () {
     // code
    });
    

提交回复
热议问题