《Slides Dev Web》 06. HTTP & AJAX
dynamiques de formulaires, autocompletion – Validation avec interrogation du serveur – … L’objet XMLHttpRequest • Initiative de Microsoft – Composant ActiveX de IE5 – Adopté par Mozilla 1.0 et Safari 1.2 ss.com/Content/Development/JavaScript/Articl es/GIFAsPipe/Index.cfm 10https://www.w3.org/TR/XMLHttpRequest/ 4 • Supporté par la majorité des navigateurs • Alternative souhaitable si JS désactivé XHR ActiveXObject) { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } else if (window.XMLHttpRequest) { xhr = new XMLHttpRequest(); } } • Dans son contexte11 XHR en jQuery avec load()0 码力 | 11 页 | 91.09 KB | 1 年前3
CakePHP Cookbook 2.x
is OPTIONS. is('ajax') Check to see whether the current request came with X-Requested- With = XMLHttpRequest. is('ssl') Check to see whether the request is via SSL is('flash') Check to see whether the request }); JsHelper::request($url, $options = array()) Generate a JavaScript snippet to create an XmlHttpRequest or ‘AJAX’ request. Event Options complete - Callback to fire on complete. success - Callback JsHelper::submit($caption = null, $options = array()) Create a submit input button that enables XmlHttpRequest submitted forms. Options can include both those for FormHelper::submit() and JsBaseEngine::request()0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
OPTIONS. • is('ajax') Check to see whether the current request came with X-Requested-With = XMLHttpRequest. • is('ssl') Check to see whether the request is via SSL • is('flash') Check to see whether }); JsHelper::request($url, $options = array()) Generate a JavaScript snippet to create an XmlHttpRequest or ‘AJAX’ request. Event Options • complete - Callback to fire on complete. • success - Callback JsHelper::submit($caption = null, $options = array()) Create a submit input button that enables XmlHttpRequest submitted forms. Options can include both those for FormHelper::submit() and JsBaseEngine::request()0 码力 | 820 页 | 2.52 MB | 1 年前3
Falcon v3.0.0-b2 Documentationto javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect to javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationto javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect to javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationto javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect to javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 Documentationto javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect to javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v3.1.1-b3 Documentationto javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect to javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentationto javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect to javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-a Documentationto javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect to javascript scripts in the browser. They are automatically sent to the server on javascript XMLHttpRequest or Fetch requests. (See also: RFC 6265, Section 4.1.2.6) • same_site (str) – Helps protect0 码力 | 378 页 | 1.29 MB | 1 年前3
共 30 条
- 1
- 2
- 3













