User Tools

Site Tools


appunti3s:js

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

appunti3s:js [2018/04/25 07:55]
appunti3s:js [2020/06/08 22:19] (current)
Line 1: Line 1:
 +<file javascript j.html><html>
 + <head>
 + <script type="text/javascript">
 + function miafunzione()
 + {
 + var name=prompt("Scrivi il tuo nome","Mario");
 + if (name!=null && name!="")
 + {
 + document.write("<p>Ciao " + name + "! </p>");
 + }
 + }
 + </script>
 + </head>
  
 + <body onload="miafunzione()">
 +
 + </body>
 +
 +</html>
 +</file>