Tim Streater
8/9/2014 8:52:00 AM
In article <1689703.Okl4DyZsQU@PointedEars.de>, Thomas 'PointedEars'
Lahn <PointedEars@web.de> wrote:
> Tim Streater wrote:
>
> > richard wrote:
> >> In the script for the html5 audio player I am using, there is a bit of
> >> code that changes the active "<li>" class to "playing".
> >> It is at this point in time I need to send a bit of information to a php
> >> file to update the database with.
> >> What could I use to do this with?
> >
> > ajax,
>
> (_AJAX_, Asynchronous JavaScript and XML) is a misnomer. In this case, it
> does not have to be asynchronous, it does not have to be JavaScript, and it
> does not have to be XML; the request can be handled synchronously, the
> programming language can be JScript, for example, and the data format to be
> used should be JSON, if any.
>
> > aka httprequest
>
> is insufficient a term/hint. The proper term and more helpful hint is
> _XMLHttpRequest_ or _XMLHTTPRequest_, commonly abbreviated XHR.
>
> > You need to make one.
>
> He needs (the client) to make an _HTTP request_, and can do that with XHR,
> *for example*.
What I posted was plenty enough, with an intelligent bit of googling.
If he can't figure it out from that, he shouldn't be bothering at all.
This is an opportunity for him to do it all by himself.
--
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf