Lines Matching refs:attribute
1970 var property = pair.first(), attribute = pair.last();
1972 if (value) result += ' ' + attribute + '=' + value.inspect(true);
2487 function(proceed, element, attribute) { argument
2488 if (attribute === 'title') return element.title;
2489 return proceed(element, attribute);
2613 _getAttr: function(element, attribute) {
2614 return element.getAttribute(attribute);
2616 _getAttr2: function(element, attribute) {
2617 return element.getAttribute(attribute, 2);
2619 _getAttrNode: function(element, attribute) {
2620 var node = element.getAttributeNode(attribute);
2631 f = function(element, attribute) { argument
2632 attribute = element.getAttribute(attribute);
2633 if (!attribute) return null;
2634 attribute = attribute.toString();
2635 attribute = attribute.split('{')[1];
2636 attribute = attribute.split('}')[0];
2637 return attribute.strip();
2641 f = function(element, attribute) {
2642 attribute = element.getAttribute(attribute);
2643 if (!attribute) return null;
2644 return attribute.strip();
2650 _flag: function(element, attribute) {
2651 return $(element).hasAttribute(attribute) ? attribute : null;
2859 hasAttribute: function(element, attribute) { argument
2860 attribute = Element._attributeTranslations.has[attribute] || attribute;
2861 var node = $(element).getAttributeNode(attribute);
2956 Element.hasAttribute = function(element, attribute) { argument
2957 if (element.hasAttribute) return element.hasAttribute(attribute);
2958 return Element.Methods.Simulated.hasAttribute(element, attribute);