Append value
http://stackoverflow.com/questions/5452152/newly-created-input-element-ignoring-attribute-changes
by mazzzzz
JavaScript
var t = $("<input type='text' value='Foo' />").attr("value","Bar");
$("body").append(t);
by mazzzzz
var t = $("<input type='text' value='Foo' />").attr("value","Bar");
$("body").append(t);