Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.www.php > #22941
| From | pippo <pippo@invalid.it> |
|---|---|
| Newsgroups | it.comp.www.php |
| Subject | Re: php e ajax (elementare) |
| Date | 2021-10-19 12:25 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <skm6e8$1aim$1@gioia.aioe.org> (permalink) |
| References | <skj7co$13sf$1@gioia.aioe.org> |
cb ha spiegato il 18/10/2021 :
> ----- index.html
> > <script>
> function show() {
> var xmlhttp = new XMLHttpRequest();
> xmlhttp.onreadystatechange = function() {
> if (this.readyState == 4 && this.status == 200) {
> document.getElementById("dataGiorno").innerHTML =
> this.responseText;
> }
> };
> xhttp.open("GET", "lista.php, true);
> xmlhttp.send();
> }
> </script>
> </body>
> </html>
> ---- lista.php
> <?php
> echo "<h1>data del giorno</h1>";
> ?>
Ciao,
> xhttp.open("GET", "lista.php, true);
potrebbe essere qualcosa di proprio banale.
lista.php non ha gli apici di chiusura.
Back to it.comp.www.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
php e ajax (elementare) cb <cb@ppt.io.it> - 2021-10-18 09:23 +0200
Re: php e ajax (elementare) pippo <pippo@invalid.it> - 2021-10-19 12:25 +0200
Re: php e ajax (elementare) cb <cb@ppt.io.it> - 2021-10-19 12:53 +0200
Re: php e ajax (elementare) Leonardo Serni <lserni@gmail.com> - 2021-10-19 23:02 +0200
Re: php e ajax (elementare) cb <cb@ppt.io.it> - 2021-10-20 08:09 +0200
Re: php e ajax (elementare) Leonardo Serni <lserni@gmail.com> - 2021-10-20 08:58 +0200
Re: php e ajax (elementare) pippo <pippo@invalid.it> - 2021-10-21 05:15 +0200
Re: php e ajax (elementare) Alessandro Pellizzari <shuriken@amiran.it> - 2021-10-24 10:02 +0100
Re: php e ajax (elementare) pippo <pippo@invalid.it> - 2021-10-24 13:00 +0200
Re: php e ajax (elementare) Alessandro Pellizzari <shuriken@amiran.it> - 2021-10-24 12:40 +0100
csiph-web