[Solved] jQuery Live not working with jQuery version 3.2.1

Last Reply 2 months ago By SajidHussa

Posted 2 months 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 2 months ago Modified on 2 months 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')));
});