First, I want to check whether checkbox is selected or not and then have to perform select action. But here isselected
method always giving false output, because the script is selecting the checkbox if it is not selected and deselecting if it is selected.
<div class="wrapper-tagline primary checkbox check-success">
<input id="checkbox" type="checkbox" checked="" value="1">
<label class="main-title section-option" for="checkbox">
<span>Show Section</span>
</label>
</div>
<div class="section-option-wrapper">
Any suggested solution?