#238: Use val() instead of .attr('value')