changing property jquery code example
Example 1: jquery add attribute
$('#someid').attr('name', 'value');
Example 2: jquery set att
$input.attr("attributeName", "attributeValue");
$('#someid').attr('name', 'value');
$input.attr("attributeName", "attributeValue");