filmov
tv
why jquery code does not work.why resultstring +=result.val() does not work

Показать описание
$(document).ready(function () {
$('#Language').click(function () {
checkboxx();
})
var checkboxx = function () {
var result = $('input[type="checkbox"]:checked');
resultstring += $(this).val()+"
});
$('#divresult2').html(resultstring);
}
else {
$('#divresult2').html("no button is checked");
}
}
})
$('#Language').click(function () {
checkboxx();
})
var checkboxx = function () {
var result = $('input[type="checkbox"]:checked');
resultstring += $(this).val()+"
});
$('#divresult2').html(resultstring);
}
else {
$('#divresult2').html("no button is checked");
}
}
})