What is wrong with this code?
var myRutabaga = $("rutabaga");
if(myRutabaga.checked){
document.$("likerutabagas") = "LIKE";
}else{
document.$("likerutabagas") = "DO NOT LIKE";
}
It will not execute. I need to find the nodevalue too. How can I fix it?
What is "rutabaga" and "likerutabagas" ... ?
If id try: var myRutabaga = $("#rutabaga");
If class : var myRutabaga = $(".rutabaga");