I\'m looping through cells in a table row. each cell has a text box in it, and I want to take the value of the text box and push it onto an array.
function dothi
function dothing() { var tds = $('#'+selected+' td'); var submitvals = new Array(); tds.each(function(i) { var val = $($(this).children('input')[0]).val(); submitvals.push(val); }); }