[Solved] jQuery Live not working with jQuery version 3.2.1

Last Reply 17 days ago By SajidHussa

Posted 17 days ago

i used 3.2.1 jquery not working 

i replace .live to .on only 

$(".Pager .page").on("click", function () {
    GetSemesterMaster(parseInt($(this).attr('page')));
});

 

Posted 17 days ago Modified on 17 days ago

jquery higer version 

$("[id*=txtSearch]").on("keyup", function () {
    GetSemesterMaster(parseInt(1));
});


$(".Pager").on("click",'.page', function () {
    GetSemesterMaster(parseInt($(this).attr('page')));
    alert(parseInt($(this).attr('page')));
});