Event OnClick onl;y effect on 1st page

Event OnClick onl;y effect on 1st page

tranloitranloi Posts: 12Questions: 3Answers: 0

Hi All,
I got the problem 'Event OnClick onl;y effect on 1st page'.So please help me a solution to fix it.This is may code.

$('#currency_ratio td#delete').on("click", "td", function(){
var nRow = $(this).closest("tr").get(0);
var aData = oTable.fnGetData(nRow);
var id = aData[0];
alert(id);
});

Thanks,
Loi

Answers

  • tranloitranloi Posts: 12Questions: 3Answers: 0

    Any advices?

    Thanks

  • tranloitranloi Posts: 12Questions: 3Answers: 0

    I fixed by :
    $('#currency_ratio tbody').on("click", "td#delete", function(){ ...});

    Hope help some one need

This discussion has been closed.