<html>
<head> <title> ТЕСТ </title>
</head>
<body>
<script type="text/javascript">
var vopros;
vopros = {
question: "Сколько месяцев в году?",
coranswer: 3,
useranswer: undefined,
answers: ['12', '13', '11', '24'],
};
var vopros1;
vopros1 = {
question: "Сколько Букафф в русском алфавите?",
coranswer: 4,
useranswer: undefined,
answers: ['27', '33', '32', '34'],
};
var num;
num = -1;
function next() {
num ++;
}
</script>
<p> <script type="text/javascript"> document.write(vopros.question)</script> <p>
<div><input type="radio" name="<script> vopros.number</script>"><script>document.write(vopros.answers[0])</script></div>
<div><input type="radio" name="<script> vopros.number</script>"><script>document.write(vopros.answers[1])</script></div>
<div><input type="radio" name="<script> vopros.number</script>"><script>document.write(vopros.answers[2])</script></div>
<div><input type="radio" name="<script> vopros.number</script>"><script>document.write(vopros.answers[3])</script></div>
<input type="button" onclick="next()" value="Туда -->"></input>
</body>
</html> |