Sarath Kumar

Sarath Kumar

  • NA
  • 443
  • 338.7k

check box value

Nov 14 2014 4:48 AM
in my application need to select  one from bus type.i.e,AC or NonAC


here i am writing the code like this but unable to get selected checkbox value.if anyone knows how to get selected checkbox value.


  $(function () {
                $('#chkType').click(function () {
                    var checked = $("#chkType").is(':checked');
                    alert(checked); return false; 
    });
});

Answers (7)