jQuery - result update function

0 votes
100 views
added Aug 8, 2019 in jQuery by lcjr First Warrant Officer (9,190 points)
function updateResult(){
  var ttl_school = $('.sm-school-col.active').find('.sm-school.active').length;
  $('.school-result span.ttl').text(ttl_school);
  return ttl_school;
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...