Kumar AU

Kumar AU

  • 1.4k
  • 320
  • 62.9k

in Jquery - DOM element uncheck the checkbox

Dec 4 2018 10:57 PM
Dear All,
Please let me know how to uncheck the check box from the DOM element, here is my code and DOM element, my code its not working.
I only need to uncheck the check box. and Name and check box has to display as it is.
 
DOM Element :-
<div class="s-checkboxradio-row">
<label for="Carrier Org Name">
<input type="checkbox" value="2799">
<span class="s-panel-label-text" id="Carrier Org Name">Carrier Organization Name</span>
</label>
</div>
My Jquery Code :-
$("input[type='checkbox' value='2799']").prop('checked',prop);

Answers (1)