jQuery toggleClass example
Toggle class name on click in jQuery
by martinba
HTML
<div class="checkbox">
<label>
<input type="checkbox" name="type_of_parts" value="Non-visible technical components">Non-visible Technical Components
</label>
</div>
<button type="button">
klikni
</button>
JavaScript
$("button").click(function(){
$('body').find('input[value="Non-visible Technical Components"]').trigger('click').prop('checked', true);
})