Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript If value = 10, do something Reply To: If value = 10, do something

#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');
    }
  });