Every line of 'jquery get multiple elements with same name' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
159 function getElementsByTagName(name) 160 { 161 return document.getElementsByTagName(name); 162 }
221 getElementsByTagName(element /** TODO #9100 */, name) { 222 return element.getElementsByTagName(name); 223 }
4112 function getElementsByName( 4113 doc, 4114 name 4115 ) 4116 { 4117 /* 4118 Public wrapper method for 4119 `getElementsByName`; returns 4120 `null` if not applicable. 4121 */ 4122 var isDoc = Utils.is.document(doc), 4123 key = "getElementsByName", 4124 canUse, 4125 result = null; 4126 if (isDoc) { 4127 canUse = Utils.is.hostObject( 4128 doc[key] 4129 ); 4130 if (canUse) { 4131 result = makeLinearArray( 4132 doc[key](name) 4133 ); 4134 } 4135 } 4136 return result; 4137 }
118 function at(target, name) { 119 return !SE() ? target[name] : target.getAttribute(name) || target[name] 120 }
13 function getElement(name) { 14 return $(name + '-dialog'); 15 }
172 getElementsByTagName(element, name:string) { 173 throw _abstract(); 174 }
60 export function renameAttr($elements, from, to) { 61 if (to === from) { 62 return $elements; 63 } 64 65 return $elements.each(function() { 66 if (this.hasAttribute(from)) { 67 this.setAttribute(to, this.getAttribute(from)); 68 this.removeAttribute(from); 69 } else if (this.hasAttribute(to)) { 70 this.removeAttribute(to); 71 } 72 }); 73 }
23 function getElementsByNameSelectorsApi(name) { 24 return this.querySelectorAll("*[name='" + name + "']"); 25 }
796 , getElementsByTagName: function DomUtils$getElementsByTagName (name, currentElement, recurse, limit) { 797 return(DomUtils.getElements({ tag_name: name }, currentElement, recurse, limit)); 798 }
61 function has(name, xmlElements) { 62 for (let i = 0; i < xmlElements.length; i++) { 63 const xmlElement = xmlElements[i]; 64 if (xmlElement.tag.indexOf(`<${name}`) === 0) { 65 return true; 66 } 67 } 68 return false; 69 }