Lines Matching refs:attributes
1771 global.Element = function(tagName, attributes) { argument
1772 attributes = attributes || { };
1775 if (SETATTRIBUTE_IGNORES_NAME && attributes.name) {
1776 tagName = '<' + tagName + ' name="' + attributes.name + '">';
1777 delete attributes.name;
1778 return Element.writeAttribute(document.createElement(tagName), attributes);
1781 return Element.writeAttribute(cache[tagName].cloneNode(false), attributes);
1954 wrap: function(element, wrapper, attributes) { argument
1957 $(wrapper).writeAttribute(attributes || { });
1958 else if (Object.isString(wrapper)) wrapper = new Element(wrapper, attributes);
2085 return (!element.attributes || !element.attributes[name]) ? null :
2086 element.attributes[name].value;
2094 var attributes = { }, t = Element._attributeTranslations.write;
2096 if (typeof name == 'object') attributes = name;
2097 else attributes[name] = Object.isUndefined(value) ? true : value;
2099 for (var attr in attributes) {
2101 value = attributes[attr];