how to change attribute name in jquery code example Example: jquery add attribute $('#someid').attr('name', 'value');