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
.val() is a jquery method. Using [0] returns the DOM element, not the jquery element
var val = $(this).children('input:first').val();