i used .each to select all elements with id that starts with laLab $("*[id^=laLab]").each(function (i, obj) { alert(obj.attr("value")); });
but i cant do obj.attr("value") nor obj.val(). why is this so? when i alert(obj) its said i got HTML Input Element which is right