Set Attributes - attr() 2

IBM.com

Mouse over the link to see that the href attribute has changed and a title attribute is set.