I had this code ready to go and formatted, seems it has always worked in the past. Today it is not working properly and I can't see anything wrong with the syntax.
$('.ptoTable').each(function () { hours = $(this).find('.ptohours input').val(); alert(hours); });
If I have a table with the class ptoTable with 1 row it alerts the value of hours twice. How is it running twice if there is only 1 row. Furthermore, if I have more than one row, it still just alerts twice, and it only alerts the first value of the first row each time.