Friday, February 20, 2015

JQUERY TO COUNT TOTAL SELECTED CHECKBOXES

function checkTotalSeleted(){

   var lengthTotal = $('input[name=ids]:checked').length;

    if(lengthTotal!="0"){
$("#totalSelected").html("Total selected: +lengthTotal);

    }else{
    $("#totalSelected").html("");
   }
}

No comments:

Post a Comment

Scrum and Scrum master

Scrum  Scrum is a framework which helps a team to work together.  It is like a rugby team (the scrum name comes from rugby game). Scrum enco...