✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Watter TWEE van die volgende faktore speel 'n rol in die ontwerp van 'n werksomgewing wat bevorderlik is vir die welstand van werknemers?
A. Kommunikasie
B. Kleur
C. Natuur
D. Begroting
E. Bestuur
// <![CDATA[
$(document).ready(function() {
$("div.que.multichoice").each(function() {
if ($(this).find("#maximumselections").length) {
let maxselect = parseInt($(this).find("#maximumselections").text());
$(this).find("#numberselections").text(maxselect);
let $total = 1;
$(this).find("div.answer input[type=checkbox]").each(function() {
if ($(this).is(":checked")) {
$total++;
}
$(this).on('click', function(event) {
if (!$(this).is(":checked")) {
$total = $total - 1;
$("div.validationerror").remove();
} else if ($total <= maxselect) {
$total = $total + 1;
$("div.validationerror").remove();
} else {
event.preventDefault();
event.stopPropagation();
}
});
});
}
});
});
// ]]>
2