jquery set attribute stack overflow

JavaScript
$('#someid').attr('name', 'value');$('#someid').prop('disabled', true);
Source

Also in JavaScript: