Home › Forums › JavaScript › If value = 10, do something › Reply To: If value = 10, do something
May 31, 2014 at 12:58 am
#171482
chrisburton
Participant
Is there a way to convert this to pure Javascript?
$( ".paid" ).map(function() {
if($(this).val() == '$0') {
$(this).parents('tr').addClass('error');
}
});