jQuery set attribut Stack Overflow

$('#someid').attr('name', 'value');
2 Programmers 1 Bug