HTTP DOM: request.use? Usage?

Posted by Jim G. on Stack Overflow See other posts from Stack Overflow or by Jim G.
Published on 2010-03-24T14:21:27Z Indexed on 2010/03/24 14:23 UTC
Read the original article Hit count: 179

I'm looking at the following code block in javascript:

var request = new Request();
if(request.Use()) // What exactly does this do?
{
    // ...do stuff
}
else
{
   // no ajax support?
}

I've never seen anyone invoke the request.Use() method.

My Question:

  • What exactly does request.Use() check?
    • Does it in fact check for AJAX support?
    • Can anyone redirect me to an online API reference?

© Stack Overflow or respective owner

Related posts about dom

Related posts about httprequest