Empire Burlesque



Download 2,37 Mb.
bet11/12
Sana26.05.2022
Hajmi2,37 Mb.
#609838
1   ...   4   5   6   7   8   9   10   11   12
Bog'liq
karimov TDA labaratoriya1-8

Metod

Tavsifi

new XMLHttpRequest()

Creates a new XMLHttpRequest object

abort()

Cancels the current request

getAllResponseHeaders()

Returns header information

getResponseHeader()

Returns specific header information

open(method, url, async, user, psw)

Specifies the request
method: the request type GET or POST url: the file location
async: true (asynchronous) or false
(synchronous) user: optional user name psw: optional password

send()

Sends the request to the server Used for GET requests

send(string)

Sends the request to the server. Used for POST requests

setRequestHeader()

Adds a label/value pair to the header to be sent

Serverga so’rov jo’natish:

  • xhttp.open("GET", "ajax_info.txt", true); xhttp.send();

  • xhttp.open("POST", "demo_post.asp", true); xhttp.send();

  • xhttp.open("POST", "ajax_test.asp", true); xhttp.setRequestHeader("Content-type", "application/x-www-formurlencoded"); xhttp.send("fname=Henry&lname=Ford");

  • xhttp.open("GET", "ajax_info.txt", false); xhttp.send();

8.2- jadval
Server javobi


Download 2,37 Mb.

Do'stlaringiz bilan baham:
1   ...   4   5   6   7   8   9   10   11   12




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish