The select form elements don't have an attribute of type. So, trying to get that attribute would fail. What I would do is add a data attribute to all the fields to store the type. <select name="inputc" id="inputc" data-type="select"> then update your code to get the field... var frminpt = datab , $el = $("[name=" + frminpt.name + "]"), type = $el.data('type'); alert(frminpt.name + " is a " + type) hth, --Dave
... View more