You can get value using “:checked” using jquery.
eg.
if($("#cmn-toggle-4").is(":checked")){
m11="yes";
}
else{
m11="no";
}
and send it through ajax.
2
solved saving values of toggle(yes or no) in database php
You can get value using “:checked” using jquery.
eg.
if($("#cmn-toggle-4").is(":checked")){
m11="yes";
}
else{
m11="no";
}
and send it through ajax.
2
solved saving values of toggle(yes or no) in database php