constructor new Ajax.Request
new Ajax.Request(url[, options])
-
url
(String
) – The URL to fetch. When the same-origin policy is in effect (as it is in most cases),url
must be a relative URL or an absolute URL that starts with a slash (i.e., it must not begin withhttp
). -
options
(Object
) – Configuration for the request. See the Ajax for more information.
Creates a new Ajax.Request
.