Answer the question
In order to leave comments, you need to log in
Javascript not working in Wordpress?
JavaScript test. Doesn't work in wordpress. Please, help
function getRes() {
var key = "122021321011421130221141421021421222220201";//номера радиобаттона каждого вопроса (правильные ответы)
var res = 0;
for (var i=0; i < (document.forms.length - 1); i++) {
if (document.forms[i].q[key.charAt(i)].checked) res++;}
alert("Количество правильных ответов: " + res);}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question