How to check if checkbox is checked using jquery

    You can do this using jQuery in following way:
    // First method
    $('#edit-country-id').is(':checked');

    // where edit-country-id is id of element need to be checked

    // Second method
    $('#countryinfo').attr('checked');

    // where countryinfo is id of element need to be checked
    0

    User login