Rasmus’ 30 second AJAX Tutorial
10 08 2005This is a great and simple example/tutorial on AJAX by Rasmus Lerdorf (the creator of PHP).
It’s just AWESOME!
Rasmus’ 30 second AJAX Tutorial
(Original Post @ php-general mailing list)
This is a great and simple example/tutorial on AJAX by Rasmus Lerdorf (the creator of PHP).
It’s just AWESOME!
Rasmus’ 30 second AJAX Tutorial
(Original Post @ php-general mailing list)
Nice tutorialm although it might make people stop thinking I am a magician
.
BTW There is a minor typo in the example code:
In function handleresponse:
document.getElementById(update[0]).innerHTML = pdate[1];
pdate should be update of course.
Yes, Rasmus’ tutorial is really great.
Thanks for bringing the typo to my attention. It’s been fixed.
Cheers!
I like it, especially as it promotes small is beautiful. Have you considering putting in on digg.com?
There again my “smallest” AJAX example got called crap!!
Hi,
First off. Great tutorial. It think I search the web for an hour just for a simple explanation.
Second. It is a bit late here but I think there is a minor bug in the tutorial
if(response.indexOf(‘|’ != -1)
shouldn’t that be
if(response.indexOf(‘|’ )!= -1
Anyway thanks, keep up the good work.
Cheers, Ron AF Greve
Ron, thanks for brining the typo to my attention. I’ll fix it before long.
Best!
EDIT: Typo has been fixed
The Script doesn’t work! Can anyone paste the whole two files, please? Thanks!
Henning Mann,
There’s nothing to paste. The ‘whole two files’ code is there on the page.
Since it’s work for others, you may be doing something wrong for it not to work.