Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
xmlhttprequest 객체를 시험한 다음 생성한다.
Попробуйте создать объект xmlhttprequest.
Ultimo aggiornamento 2011-03-23
Frequenza di utilizzo: 2
Qualità:
w3c working draft(xmlhttprequest)
w3c working draft для xmlhttprequest.
Ultimo aggiornamento 2011-03-23
Frequenza di utilizzo: 1
Qualità:
ajax 애플리케이션은 단순히 xmlhttprequest 를 사용하는 것에 관한 것만은 아니다. 이것은 웹 애플리케이션에 접근하는 방식에 관한 것이고, 비동기성에 기반하고 있다.
Создание ajax-приложений заключается не только в xmlhttprequest; но и в способах обращения с web-приложениями, а они основаны на асинхронности.
Ultimo aggiornamento 2011-03-23
Frequenza di utilizzo: 1
Qualità:
/* * adds an item, identified by its product code, * to the shopping cart * itemcode - product code of the item to add. */ function addtocart(itemcode) { // obtain an xmlhttprequest instance var req = newxmlhttprequest(); // set the handler function to receive callback notifications // from the request object var handlerfunction = getreadystatehandler(req, updatecart); req.onreadystatechange = handlerfunction; // open an http post connection to the shopping cart servlet. // third parameter specifies request is asynchronous. req.open("post", "cart.do", true); // specify that the body of the request contains form data req.setrequestheader("content-type", "application/x-www-form-urlencoded"); // send form encoded data stating that i want to add the // specified item to the cart.
/* * Добавляет продукт, определенный его кодом, * в корзину покупателя * itemcode - код продукта для добавления. */ function addtocart(itemcode) { // Возвращает содержимое xmlhttprequest var req = newxmlhttprequest(); // Оператор для получения сообщения обратного вызова // из объекта запроса var handlerfunction = getreadystatehandler(req, updatecart); req.onreadystatechange = handlerfunction; // Открываем http-соединение с помощью post-метода к сервлету корзины покупателя. // Третий параметр определяет, что запрос асинхронный. req.open("post", "cart.do", true); // Определяет, что в содержимом запроса есть данные req.setrequestheader("content-type", "application/x-www-form-urlencoded"); // Посылаем закодированные данные, говорящие о том, что я хочу добавить // определенный продукт в корзину.
Ultimo aggiornamento 2011-03-23
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta