Actually it looks like `$('input[type=text]').val('hi')` would set all selected text inputs to "hi".

Check it out: https://github.com/jquery/jquery/blob/master/src/attributes.js#L165