Every line of 'count in jquery' 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.
83 function count() { 84 tpl().count++; 85 eval(); 86 }
148 function addCount(obj) { 149 var numObj = obj.siblings('.count'); 150 var num = parseInt(numObj.text()); 151 num += 1; 152 numObj.text(num); 153 if (num > 0) { 154 // obj.removeAttr("style") 155 obj.animate({marginRight:'8px','fontSize':'30px'},'fast'); 156 obj.siblings('.count').show(); 157 obj.siblings('.sub').show(); 158 } 159 }
151 function setCount() { 152 if (count < num) { 153 document.getElementById('count').innerHTML = count + '/' + num + ' complete'; 154 } else { 155 document.getElementById('count').innerHTML = '<a href="#">Reset</a>'; 156 google.maps.event.addDomListener(document.getElementById('reset'), 'click', function(e) { 157 e.preventDefault(); 158 count = 0; 159 addCountries(); 160 return false; 161 }); 162 } 163 }
6 function getCount(name) { 7 var idx = name.indexOf('_'); 8 9 if (idx === -1) { 10 return 0; 11 } 12 13 return parseInt(name.substr(3, idx - 3), 10); 14 }
58 function count (numbers) { 59 // Go through tags and set count. 60 tags.forEach(function (tag) { 61 tag.count = numbers[tag.key] || 0; 62 }); 63 }
3 function setCount(count) { 4 if (count > 99) { count = 1 }; 5 6 favicon.set(count); 7 8 setTimeout(function() { 9 setCount(count + 1); 10 }, 500); 11 }
449 function howManyJQuery(selector) { 450 return find(selector).length; 451 }
407 function updateCount (count) { 408 this.page.count = count; 409 this.page.last = Math.ceil(count / this.page.size); 410 411 return this.page.last; 412 }
19 function count(template) { 20 let count = 0 21 forEach(template, () => count += 1) 22 return count 23 }
70 function countElement(item, array) { 71 var count = 0; 72 jQuery.each(array, function(i, v) { 73 if (v === item) 74 count++; 75 }); 76 return count; 77 };