jquery get value of attribute id code example Example: jquery add attribute $('#someid').attr('name', 'value');