Код: Выделить всё
$('select[name=product]').on('change', function() {
var pid = $('select[name=product]').val();
var table = $('#ListProduct');
var check_value = $(table).find("tr").data('id').eq(pid);
if (check_value) alert("ID exist")
else alert("Not exist");
});< /code>
A
B
C
A
D
E
F
G
Подробнее здесь: https://stackoverflow.com/questions/322 ... in-a-table