SóProvas


ID
1452496
Banca
CESPE / CEBRASPE
Órgão
TRE-GO
Ano
2015
Provas
Disciplina
Programação
Assuntos

Julgue o seguinte item, relativos à tecnologia Ajax.

Se o Ajax for usado para atualizar determinada imagem em uma página de compras, o objeto utilizado para a solicitação Ajax, na programação do evento de clique, será o XmlHttpRequest.

Alternativas
Comentários
  • The XMLHttpRequest object is used to exchange data with a server behind the scenes.

    The XMLHttpRequest object is a developer's dream, because you can:

    Update a web page without reloading the page Request data from a server after the page has loaded Receive data from a server after the page has loaded Send data to a server in the background. Fonte: http://www.w3schools.com/xml/xml_http.asp

  • request.onreadystatechange = function () {
       var DONE = this.DONE || 4;
       if (this.readyState === DONE){
           alert(this.readyState);
       }
    };