mardi 24 février 2015

Checkbox is checked or not in mvc


$("#Month option:selected").val();


By this we can get the selected value in our DDL. same as this how can we get weather CheckBox is checked or not. How can i do this?



<input id="Baruc" type="checkbox" value="true" name="Baruc" data-val-required="The Baruc field is required." data-val="true" onchange="showlabel();">


for this checkbox?





Aucun commentaire:

Enregistrer un commentaire