Assign a unique ID to the target element.
Returns the ID that was assigned.
If the target element already has an id attribute, this will not be overwritten.
id
Assign a unique ID to the target element.
Returns the ID that was assigned.
If the target element already has an
idattribute, this will not be overwritten.