Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.javascript > #7899
| From | Giovanni <jimmyrr6@yahoo.com> |
|---|---|
| Newsgroups | it.comp.lang.javascript |
| Subject | Errore javascript |
| Date | 2015-08-13 04:39 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mqh00s$r5h$1@speranza.aioe.org> (permalink) |
Ho scritto questo script preso da un libro sul javascript e non funziona .
Lo script è questo ed è ambedded all'html :
-----------------------
<html>
<head>
<title> Javascript pocket listato 2.1 - Capitolo3</title>
</head>
<body>
<h1 align="center">Javascript</h1>
<h2 align="center">Inserimento data e ora nella finestra</h2>
<script type="text/javascript" language="javascript">
<!--
var dataora = new Date();
document.write("La data di oggi è: ");
document.write(dataora.getDate(),
"-",dataora.getMounth()+1,
"-",dataora.getYear());
document.write(" - Sono le ore: ",
dataora.getHours(),":",
dataora.getMinutes());
// -->
</script>
</body>
</html>
-----------------------------------------------
Vorrei sapere perchè mi da' errore, grazie.
Giovanni
Back to it.comp.lang.javascript | Previous | Next — Next in thread | Find similar
Errore javascript Giovanni <jimmyrr6@yahoo.com> - 2015-08-13 04:39 +0200
Re: Errore javascript marcocatarsi@tiscaly.it (Catarsi) - 2015-08-13 14:11 +0200
Re: Errore javascript Giovanni <jimmyrr6@yahoo.com> - 2015-08-13 21:48 +0200
Re: Errore javascript Alessandro Pellizzari <shuriken@amiran.it> - 2015-08-13 17:46 +0000
csiph-web