I have a page where the input type always varies, and I need to get the values depending on the input type. So if the type is a radio, I need to get which is checked, and if
It would seem that the attr functionality is getting further deprecated
$(this).attr('TYPE') undefined $(this).prop('type') "text"