Here is the code
<script src="js/jquery-1.6.2.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("[id*=CheckBoxList1] input:checkbox").change(function () {
$("[id*=CheckBoxList1] input:checkbox:not(:disabled)").prop('checked', false);
$("[id*=CheckBoxList1] input:checkbox").next().css("text-decoration", "none");
$(this).prop("checked", true);
$(this).next().css("text-decoration", "underline");
})
});
</script>
Done :)
<script src="js/jquery-1.6.2.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("[id*=CheckBoxList1] input:checkbox").change(function () {
$("[id*=CheckBoxList1] input:checkbox:not(:disabled)").prop('checked', false);
$("[id*=CheckBoxList1] input:checkbox").next().css("text-decoration", "none");
$(this).prop("checked", true);
$(this).next().css("text-decoration", "underline");
})
});
</script>
Done :)
Comments
Post a Comment