Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery bootstrap checkbox val

$('#uho').prop('checked')

if($('#uho').prop('checked')){
    $.cookie("typpaliva", "Diesel");
}
else {
    $.cookie("typpaliva", "Benzin");
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #bootstrap #checkbox #val
ADD COMMENT
Topic
Name
4+9 =