lundi 19 septembre 2016

Not working jQuery change function when right click checkbox

I have following issue, There is table and if I right click table row,checkbox checked.

This is the right click checkbox checked code.

$('tr.check').contextmenu(function (e) {
        $(this).find('input[type="checkbox"].check_row').prop('checked', true);
        return false;
  });

But the issue is I want to get row id number after change checkbox. What is the correct way to do this??




Aucun commentaire:

Enregistrer un commentaire