val instead of text for inputs and text for <td>s.