Tuesday, July 10, 2012

Asp.Net jQuery Radio Button set Unchecked


In this post Asp.Net jQuery Radio Button set Unchecked, we shall see on how to check a checkbox using jQuery.

We can use the checked attribute of the checkbox to set its state to unchecked as follows.
$('#radActive).attr('checked', false);


To set the checked status, on click of a button uses the following script.
// Set CheckBox Status: Unchecked
$('#cmdCheck').click(function(event) {
    event.preventDefault();
    $('#radActive).attr('checked', false);
});


Search Flipkart Products:
Flipkart.com

No comments: