jquery set the value of the attribute style of an input code example Example: jquery add attribute $('#someid').attr('name', 'value');