set attribute
Set the value of the targeted data attribute.
element.setAttribute('attribute','value');
copy
Set the value of the targeted data attribute.
element.setAttribute('attribute','value');
copy