From 040852a09efb3bade338214269cb816209af5eab Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Sat, 31 Jul 2021 12:18:23 -0400 Subject: remove link 'title' attributes that's just the 'href' (pt-br) (#1738) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 👍🏽 --- files/pt-br/web/guide/ajax/getting_started/index.html | 2 +- files/pt-br/web/guide/ajax/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'files/pt-br/web/guide/ajax') diff --git a/files/pt-br/web/guide/ajax/getting_started/index.html b/files/pt-br/web/guide/ajax/getting_started/index.html index 6cdddaddce..128dff7451 100644 --- a/files/pt-br/web/guide/ajax/getting_started/index.html +++ b/files/pt-br/web/guide/ajax/getting_started/index.html @@ -97,7 +97,7 @@ httpRequest.send(null);

* readyState é algo como "estado de prontidão", mostra qual é o status do processo que está sendo executado e se está sendo executado.

-

(Fonte)

+

(Fonte)

A próxima coisa a se checar é o código de resposta do servidor HTTP. Todos os possíveis códigos estão listados no site do W3C. No exemplo a seguir, nós tratamos do retorno bem sucedido ou mal sucedido da requisição HTTP do AJAX, verificando se o código de resposta for 200.

diff --git a/files/pt-br/web/guide/ajax/index.html b/files/pt-br/web/guide/ajax/index.html index e5cebbc532..1fcf1fe60d 100644 --- a/files/pt-br/web/guide/ajax/index.html +++ b/files/pt-br/web/guide/ajax/index.html @@ -28,7 +28,7 @@ Uma introdução ao AJAX.
Jesse James Garrett, of adaptive path, wrote this article in February 2005, introducing AJAX and its related concepts.
A Simpler Ajax Path
"As it turns out, it's pretty easy to take advantage of the XMLHttpRequest object to make a web app act more like a desktop app while still using traditional tools like web forms for collecting user input."
-
Fixing the Back Button and Enabling Bookmarking for AJAX Apps
+
Fixing the Back Button and Enabling Bookmarking for AJAX Apps
Mike Stenhouse has penned this article, detailing some methods you can use to fix back button and bookmarking issues when developing AJAX applications.
Ajax Mistakes
Alex Bosworth has written this article outlining some of the mistakes AJAX application developers can make.
-- cgit v1.2.3-54-g00ecf