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?
EDIT: Thanks for the helpful feedback.
I see both prototype and scriptaculous includes.
Has anyone seen request.Use() in either prototype or scriptaculous?