setAttribute - xurion/acronymizer.js GitHub Wiki
Sets a single attribute that will be attached to the wrapping element. To set multiple attributes, see the setAttributes function.
Acronymizer.setAttribute(attribute, value)
attribute
String. The name of the attribute.
value
String. The value of the attribute.
var acron = new Acronymizer();
acron.setAttribute('href', 'http://github.com');