I have a form where a user needs to input time entries for a date range. I need to validate what they're inputting so I was hoping I could create one function to simply validate a value to make sure it's numeric. Then tie that function to each textbox that has a css class of hourmin. I think I'm headed in the right direction below but I'm not sure how to finish it.
$(".hourmin").change(function () {
//apply this validation call to the textbox which has .hourmin class
});