esercizi js

This commit is contained in:
2014-11-30 18:46:24 +01:00
parent b2e9b46742
commit c30036a3bc
11 changed files with 597 additions and 27 deletions

22
js_1.html Normal file
View File

@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script>
rit = confirm("Accettare il contratto?");
if (rit)
document.writeln("Accettato");
else
document.writeln("Rifiutato");
</script>
</body>
</html>