1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
function onlyOne(num)
{
//si premiere case cochee, les deux autres doivent etre decochee
if (num==1)
{
this.document.Question3.ba3.checked=false;
this.document.Question3.ca3.checked=false;
}
//deuxieme
if (num==2)
{
this.document.Question3.aa3.checked=false;
this.document.Question3.ca3.checked=false;
}
//troisieme
if (num==3)
{
this.document.Question3.aa3.checked=false;
this.document.Question3.ba3.checked=false;
}
}
</script>
</head>
<body> |
Partager