[jQuery] change input[type=button] value

[jQuery] change input[type=button] value


Lots of false-positives googling this.
<input type="button" id="a_button" value="foo" />
$('#a_button').attr('value', 'bar');
Doesn't work? Or, am i losing my mind?