I understand that jquery will allow you to modify attributes with the .attr() method. There are basically two methods:
$(\'#element\').attr(\'attribute\', \'
HTML attributes are always string values. If you indeed want to set something other than a string, then please consider using jQuery.data()