Function setAttribute(name, value)
allows assigning the value of the HTML attribute.
The attribute can be either a static value or a function.
The function will be evaluated each time the object is written to the page
or when the refresh()
method is called.