Every line of 'jquery get all elements id contains' 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.
73 return function andContains(elem) { 74 var i = -1; 75 while(++i < L) if(!compiledOps[i](elem)) return false; 76 return true; 77 };
20 function $id( id, arr ){ 21 if( Array.isArray( arr ) ){ 22 const res = []; 23 24 for( let i = arr.length; i--; ){ 25 const x = arr[ i ].getElementById( id ); 26 if( x ) res.push( x ); 27 } 28 29 return res; 30 } 31 32 return arr.getElementById( id ); 33 }
113 public async getElementById(id: string): Promise < any > { 114 let el: any; 115 await asyncForEach(this.availableServices, async (s: any) => { 116 await asyncForEach(this.serviceMap[s.name].resources, async (r: Resource) => { 117 const element: any = r.getElement(id); 118 if (element && element.data) { 119 const data = (element.data as BehaviorSubject).getValue().data; 120 el = data; 121 } 122 }); 123 }); 124 return this.clone(el); 125 }
6 function $id(id) { 7 return document.getElementById(id); 8 }
210 function elemId(id) { 211 return document.getElementById(id); 212 }
9 function $id(id) { 10 return document.getElementById(id); 11 }
29 function $id(id) { 30 return doc.getElementById(id); 31 }
3 export function $id(id) { 4 return $("#" + id); 5 }
141 function isVisible(element_id) { 142 var elm = document.getElementById(element_id); 143 144 return elm && elm.style.display != "none"; 145 }
293 function getElementById( elementId ) { 294 return document.getElementById( elementId ); 295 }