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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Document sans titre</title>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="Expires" content="1" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="proto.js" type="text/javascript"></script>
<script type="text/javascript">
function calcul()
{
$('calculatrice').request({
onComplete: function(transport){
var err="";
err =(transport.responseText);
if (err!="")
location=err;
}
})
}
</script>
</head>
<body>
<form action="calculatrice.php" method="get" name="calculatrice" id="calculatrice">
<input type="button" value="cal" onclick="calcul()" />
</form>
</body>
</html> |