Deck 11: Updating Web Pages With Ajax

ملء الشاشة (f)
exit full mode
سؤال
An HTTP response code of 200 indicates that the request was successful.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
____ refers to the temporary storage of data for faster access.

A) Caching
B) Salting
C) Shadowing
D) Hashing
سؤال
The first line of an HTTP message specifies the date.
سؤال
The ____ header specifies how a web browser should cache any server content it receives.

A) Caching
B) Cache-Control
C) CacheLevel
D) Cached
سؤال
You can use a server-side script as a proxy to access data from  another domain.
سؤال
Every web page is identified by a unique address called the ____.

A) host string
B) host
C) URL
D) HTTP
سؤال
The term ____ refers to the application, usually a web browser, that makes the request.

A) HTTP server
B) host
C) HTTP URL
D) HTTP client
سؤال
A(n)____ is a data source made available on one domain for use on other domains across the web.

A) AJAX request
B) web service
C) HTTP service
D) DHTML service
سؤال
After you instantiate an XMLHttpRequest object, you use the ____ method with the instantiated XMLHttpRequest object to specify the request method (such as GET or POST )and URL.

A) alive()
B) create()
C) instantiate()
D) open()
سؤال
The term ____ refers to a computer system that is being accessed by a remote computer.

A) protocol
B) host
C) client
D) URL
سؤال
HTTP client requests and server responses are both known as HTTP ____.

A) messages
B) scripts
C) strings
D) queries
سؤال
Ajax gets its name from the fact that when it was first used, it was practical only with JavaScript and ____.

A) ActiveX
B) DOM
C) XML
D) HTTPS
سؤال
By combining the ____ object with DHTML techniques, you can update and modify individual portions of your web page with data received from a web server.

A) AjaxRequest
B) XMLHttpRequest
C) HttpRequest
D) XMLRequest
سؤال
You can use a server-side script as a ____ to access data from another domain.

A) proxy
B) switch
C) router
D) firewall
سؤال
The  XMLHttpRequest   object can be used to request and receive data without reloading a web page.
سؤال
The term ____ is another name for a web server and refers to a computer that receives HTTP requests and returns responses to HTTP clients.

A) URL
B) HTTP client
C) HTTP server
D) host
سؤال
The purpose of the ____ policy is to prevent malicious scripts from modifying the content of other windows, tabs, and frames and prevent the theft of private browser information and information displayed on secure web pages.

A) privacy
B) proxy
C) delegation
D) same-origin
سؤال
The XMLHttpRequest object uses ____ to exchange data between a client computer and a web server.

A) HTTP
B) FTP
C) HTTPS
D) SSL
سؤال
____ define information about the request or response message and about the contents of the message body.

A) Queries
B) Tags
C) Headers
D) Labels
سؤال
CORS is supported by all browsers in use today.
سؤال
Match between columns
Lets a user's browser know that a cross-domain request is authorized
same-origin policy
Lets a user's browser know that a cross-domain request is authorized
Access-Control-Allow-Origin header
Lets a user's browser know that a cross-domain request is authorized
DHTML
Lets a user's browser know that a cross-domain request is authorized
web service
Lets a user's browser know that a cross-domain request is authorized
JSON-P
Lets a user's browser know that a cross-domain request is authorized
status code
Lets a user's browser know that a cross-domain request is authorized
responseText property
Lets a user's browser know that a cross-domain request is authorized
proxy
Lets a user's browser know that a cross-domain request is authorized
CORS
Lets a user's browser know that a cross-domain request is authorized
XMLHttpRequest object
Contains HTTP response as a text string
same-origin policy
Contains HTTP response as a text string
Access-Control-Allow-Origin header
Contains HTTP response as a text string
DHTML
Contains HTTP response as a text string
web service
Contains HTTP response as a text string
JSON-P
Contains HTTP response as a text string
status code
Contains HTTP response as a text string
responseText property
Contains HTTP response as a text string
proxy
Contains HTTP response as a text string
CORS
Contains HTTP response as a text string
XMLHttpRequest object
Three digits returned from an HTTP server
same-origin policy
Three digits returned from an HTTP server
Access-Control-Allow-Origin header
Three digits returned from an HTTP server
DHTML
Three digits returned from an HTTP server
web service
Three digits returned from an HTTP server
JSON-P
Three digits returned from an HTTP server
status code
Three digits returned from an HTTP server
responseText property
Three digits returned from an HTTP server
proxy
Three digits returned from an HTTP server
CORS
Three digits returned from an HTTP server
XMLHttpRequest object
Uses a special HTTP response header to indicate response data may be used on other domains
same-origin policy
Uses a special HTTP response header to indicate response data may be used on other domains
Access-Control-Allow-Origin header
Uses a special HTTP response header to indicate response data may be used on other domains
DHTML
Uses a special HTTP response header to indicate response data may be used on other domains
web service
Uses a special HTTP response header to indicate response data may be used on other domains
JSON-P
Uses a special HTTP response header to indicate response data may be used on other domains
status code
Uses a special HTTP response header to indicate response data may be used on other domains
responseText property
Uses a special HTTP response header to indicate response data may be used on other domains
proxy
Uses a special HTTP response header to indicate response data may be used on other domains
CORS
Uses a special HTTP response header to indicate response data may be used on other domains
XMLHttpRequest object
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
same-origin policy
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
Access-Control-Allow-Origin header
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
DHTML
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
web service
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
JSON-P
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
status code
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
responseText property
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
proxy
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
CORS
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
XMLHttpRequest object
Provides services or data in response to requests that use its methods and properties
same-origin policy
Provides services or data in response to requests that use its methods and properties
Access-Control-Allow-Origin header
Provides services or data in response to requests that use its methods and properties
DHTML
Provides services or data in response to requests that use its methods and properties
web service
Provides services or data in response to requests that use its methods and properties
JSON-P
Provides services or data in response to requests that use its methods and properties
status code
Provides services or data in response to requests that use its methods and properties
responseText property
Provides services or data in response to requests that use its methods and properties
proxy
Provides services or data in response to requests that use its methods and properties
CORS
Provides services or data in response to requests that use its methods and properties
XMLHttpRequest object
Someone or something that acts or performs a request for another thing or person
same-origin policy
Someone or something that acts or performs a request for another thing or person
Access-Control-Allow-Origin header
Someone or something that acts or performs a request for another thing or person
DHTML
Someone or something that acts or performs a request for another thing or person
web service
Someone or something that acts or performs a request for another thing or person
JSON-P
Someone or something that acts or performs a request for another thing or person
status code
Someone or something that acts or performs a request for another thing or person
responseText property
Someone or something that acts or performs a request for another thing or person
proxy
Someone or something that acts or performs a request for another thing or person
CORS
Someone or something that acts or performs a request for another thing or person
XMLHttpRequest object
The key component of Ajax
same-origin policy
The key component of Ajax
Access-Control-Allow-Origin header
The key component of Ajax
DHTML
The key component of Ajax
web service
The key component of Ajax
JSON-P
The key component of Ajax
status code
The key component of Ajax
responseText property
The key component of Ajax
proxy
The key component of Ajax
CORS
The key component of Ajax
XMLHttpRequest object
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
same-origin policy
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
Access-Control-Allow-Origin header
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
DHTML
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
web service
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
JSON-P
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
status code
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
responseText property
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
proxy
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
CORS
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
XMLHttpRequest object
Opens a potential security hole in your website
same-origin policy
Opens a potential security hole in your website
Access-Control-Allow-Origin header
Opens a potential security hole in your website
DHTML
Opens a potential security hole in your website
web service
Opens a potential security hole in your website
JSON-P
Opens a potential security hole in your website
status code
Opens a potential security hole in your website
responseText property
Opens a potential security hole in your website
proxy
Opens a potential security hole in your website
CORS
Opens a potential security hole in your website
XMLHttpRequest object
سؤال
Why do you need access to a web server when developing an Ajax application?
سؤال
A(n)____________________ request allows JavaScript to continue processing while it waits for a server response.
سؤال
A web server's reply to a request is known as the ____________________.
سؤال
Why is the Cache-Control header important for Ajax applications?
سؤال
Are synchronous or asynchronous responses more resistant to server problems? Why?
سؤال
What are the four steps in using Ajax to update data?
سؤال
How does CORS work?
سؤال
____ requests JSON content using a script element rather than an XMLHttpRequest object.

A)JSON-P
B)CORS
C)proxy
D) XDomainRequest
سؤال
All the information needed to create a JSON-P request is packaged into the URL specified  for the  ____________________   attribute of the script element.
سؤال
To improve performance, you should call the ____ method of the XMLHttpRequest object to cancel any existing HTTP requests before beginning a new one.

A) exit()
B) abort()
C) cancel()
D) delete()
سؤال
Why should you not include an API key in public JavaScript code?
سؤال
How can you create an asynchronous request with JavaScript?
سؤال
The value of the responseText property is almost always a(n)____ string.

A)XML
B)XHTML
C)JSON
D)HTML
سؤال
Why is it important to use JSON-P only with a web service that you trust?
سؤال
How can a proxy be useful with Ajax?
سؤال
____________________ is a set of rules that defines how requests are made by an HTTP client to an HTTP server, and how responses are returned from an HTTP server to an HTTP client.
سؤال
After you have defined the basic request criteria, you use the ____ method with the instantiated XMLHttpRequest object to submit the request to the server.

A) pass()
B) request()
C) send()
D) call()
سؤال
Unlike standard HTTP requests, which usually replace the entire page in a web browser, the ____________________ object can be used to request and receive data without reloading a web page.
سؤال
A(n)____ request stops the processing of the JavaScript code until a response is returned from the server.

A) asynchronous
B) global
C) domain
D) synchronous
سؤال
Why is it generally a good practice to reuse an instantiated XMLHttpRequest object?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/41
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 11: Updating Web Pages With Ajax
1
An HTTP response code of 200 indicates that the request was successful.
True
2
____ refers to the temporary storage of data for faster access.

A) Caching
B) Salting
C) Shadowing
D) Hashing
A
3
The first line of an HTTP message specifies the date.
False
4
The ____ header specifies how a web browser should cache any server content it receives.

A) Caching
B) Cache-Control
C) CacheLevel
D) Cached
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
5
You can use a server-side script as a proxy to access data from  another domain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
6
Every web page is identified by a unique address called the ____.

A) host string
B) host
C) URL
D) HTTP
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
7
The term ____ refers to the application, usually a web browser, that makes the request.

A) HTTP server
B) host
C) HTTP URL
D) HTTP client
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
8
A(n)____ is a data source made available on one domain for use on other domains across the web.

A) AJAX request
B) web service
C) HTTP service
D) DHTML service
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
9
After you instantiate an XMLHttpRequest object, you use the ____ method with the instantiated XMLHttpRequest object to specify the request method (such as GET or POST )and URL.

A) alive()
B) create()
C) instantiate()
D) open()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
10
The term ____ refers to a computer system that is being accessed by a remote computer.

A) protocol
B) host
C) client
D) URL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
11
HTTP client requests and server responses are both known as HTTP ____.

A) messages
B) scripts
C) strings
D) queries
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
12
Ajax gets its name from the fact that when it was first used, it was practical only with JavaScript and ____.

A) ActiveX
B) DOM
C) XML
D) HTTPS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
13
By combining the ____ object with DHTML techniques, you can update and modify individual portions of your web page with data received from a web server.

A) AjaxRequest
B) XMLHttpRequest
C) HttpRequest
D) XMLRequest
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
14
You can use a server-side script as a ____ to access data from another domain.

A) proxy
B) switch
C) router
D) firewall
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
15
The  XMLHttpRequest   object can be used to request and receive data without reloading a web page.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
16
The term ____ is another name for a web server and refers to a computer that receives HTTP requests and returns responses to HTTP clients.

A) URL
B) HTTP client
C) HTTP server
D) host
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
17
The purpose of the ____ policy is to prevent malicious scripts from modifying the content of other windows, tabs, and frames and prevent the theft of private browser information and information displayed on secure web pages.

A) privacy
B) proxy
C) delegation
D) same-origin
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
18
The XMLHttpRequest object uses ____ to exchange data between a client computer and a web server.

A) HTTP
B) FTP
C) HTTPS
D) SSL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
19
____ define information about the request or response message and about the contents of the message body.

A) Queries
B) Tags
C) Headers
D) Labels
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
20
CORS is supported by all browsers in use today.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
21
Match between columns
Lets a user's browser know that a cross-domain request is authorized
same-origin policy
Lets a user's browser know that a cross-domain request is authorized
Access-Control-Allow-Origin header
Lets a user's browser know that a cross-domain request is authorized
DHTML
Lets a user's browser know that a cross-domain request is authorized
web service
Lets a user's browser know that a cross-domain request is authorized
JSON-P
Lets a user's browser know that a cross-domain request is authorized
status code
Lets a user's browser know that a cross-domain request is authorized
responseText property
Lets a user's browser know that a cross-domain request is authorized
proxy
Lets a user's browser know that a cross-domain request is authorized
CORS
Lets a user's browser know that a cross-domain request is authorized
XMLHttpRequest object
Contains HTTP response as a text string
same-origin policy
Contains HTTP response as a text string
Access-Control-Allow-Origin header
Contains HTTP response as a text string
DHTML
Contains HTTP response as a text string
web service
Contains HTTP response as a text string
JSON-P
Contains HTTP response as a text string
status code
Contains HTTP response as a text string
responseText property
Contains HTTP response as a text string
proxy
Contains HTTP response as a text string
CORS
Contains HTTP response as a text string
XMLHttpRequest object
Three digits returned from an HTTP server
same-origin policy
Three digits returned from an HTTP server
Access-Control-Allow-Origin header
Three digits returned from an HTTP server
DHTML
Three digits returned from an HTTP server
web service
Three digits returned from an HTTP server
JSON-P
Three digits returned from an HTTP server
status code
Three digits returned from an HTTP server
responseText property
Three digits returned from an HTTP server
proxy
Three digits returned from an HTTP server
CORS
Three digits returned from an HTTP server
XMLHttpRequest object
Uses a special HTTP response header to indicate response data may be used on other domains
same-origin policy
Uses a special HTTP response header to indicate response data may be used on other domains
Access-Control-Allow-Origin header
Uses a special HTTP response header to indicate response data may be used on other domains
DHTML
Uses a special HTTP response header to indicate response data may be used on other domains
web service
Uses a special HTTP response header to indicate response data may be used on other domains
JSON-P
Uses a special HTTP response header to indicate response data may be used on other domains
status code
Uses a special HTTP response header to indicate response data may be used on other domains
responseText property
Uses a special HTTP response header to indicate response data may be used on other domains
proxy
Uses a special HTTP response header to indicate response data may be used on other domains
CORS
Uses a special HTTP response header to indicate response data may be used on other domains
XMLHttpRequest object
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
same-origin policy
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
Access-Control-Allow-Origin header
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
DHTML
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
web service
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
JSON-P
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
status code
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
responseText property
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
proxy
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
CORS
Restricts how JavaScript code in one window, tab, or frame accesses a web page in another window or frame on a client computer
XMLHttpRequest object
Provides services or data in response to requests that use its methods and properties
same-origin policy
Provides services or data in response to requests that use its methods and properties
Access-Control-Allow-Origin header
Provides services or data in response to requests that use its methods and properties
DHTML
Provides services or data in response to requests that use its methods and properties
web service
Provides services or data in response to requests that use its methods and properties
JSON-P
Provides services or data in response to requests that use its methods and properties
status code
Provides services or data in response to requests that use its methods and properties
responseText property
Provides services or data in response to requests that use its methods and properties
proxy
Provides services or data in response to requests that use its methods and properties
CORS
Provides services or data in response to requests that use its methods and properties
XMLHttpRequest object
Someone or something that acts or performs a request for another thing or person
same-origin policy
Someone or something that acts or performs a request for another thing or person
Access-Control-Allow-Origin header
Someone or something that acts or performs a request for another thing or person
DHTML
Someone or something that acts or performs a request for another thing or person
web service
Someone or something that acts or performs a request for another thing or person
JSON-P
Someone or something that acts or performs a request for another thing or person
status code
Someone or something that acts or performs a request for another thing or person
responseText property
Someone or something that acts or performs a request for another thing or person
proxy
Someone or something that acts or performs a request for another thing or person
CORS
Someone or something that acts or performs a request for another thing or person
XMLHttpRequest object
The key component of Ajax
same-origin policy
The key component of Ajax
Access-Control-Allow-Origin header
The key component of Ajax
DHTML
The key component of Ajax
web service
The key component of Ajax
JSON-P
The key component of Ajax
status code
The key component of Ajax
responseText property
The key component of Ajax
proxy
The key component of Ajax
CORS
The key component of Ajax
XMLHttpRequest object
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
same-origin policy
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
Access-Control-Allow-Origin header
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
DHTML
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
web service
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
JSON-P
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
status code
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
responseText property
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
proxy
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
CORS
Makes web pages dynamic by combining JavaScript, HTML, CSS, and the Document Object Model
XMLHttpRequest object
Opens a potential security hole in your website
same-origin policy
Opens a potential security hole in your website
Access-Control-Allow-Origin header
Opens a potential security hole in your website
DHTML
Opens a potential security hole in your website
web service
Opens a potential security hole in your website
JSON-P
Opens a potential security hole in your website
status code
Opens a potential security hole in your website
responseText property
Opens a potential security hole in your website
proxy
Opens a potential security hole in your website
CORS
Opens a potential security hole in your website
XMLHttpRequest object
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
22
Why do you need access to a web server when developing an Ajax application?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
23
A(n)____________________ request allows JavaScript to continue processing while it waits for a server response.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
24
A web server's reply to a request is known as the ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
25
Why is the Cache-Control header important for Ajax applications?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
26
Are synchronous or asynchronous responses more resistant to server problems? Why?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
27
What are the four steps in using Ajax to update data?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
28
How does CORS work?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
29
____ requests JSON content using a script element rather than an XMLHttpRequest object.

A)JSON-P
B)CORS
C)proxy
D) XDomainRequest
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
30
All the information needed to create a JSON-P request is packaged into the URL specified  for the  ____________________   attribute of the script element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
31
To improve performance, you should call the ____ method of the XMLHttpRequest object to cancel any existing HTTP requests before beginning a new one.

A) exit()
B) abort()
C) cancel()
D) delete()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
32
Why should you not include an API key in public JavaScript code?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
33
How can you create an asynchronous request with JavaScript?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
34
The value of the responseText property is almost always a(n)____ string.

A)XML
B)XHTML
C)JSON
D)HTML
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
35
Why is it important to use JSON-P only with a web service that you trust?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
36
How can a proxy be useful with Ajax?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
37
____________________ is a set of rules that defines how requests are made by an HTTP client to an HTTP server, and how responses are returned from an HTTP server to an HTTP client.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
38
After you have defined the basic request criteria, you use the ____ method with the instantiated XMLHttpRequest object to submit the request to the server.

A) pass()
B) request()
C) send()
D) call()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
39
Unlike standard HTTP requests, which usually replace the entire page in a web browser, the ____________________ object can be used to request and receive data without reloading a web page.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
40
A(n)____ request stops the processing of the JavaScript code until a response is returned from the server.

A) asynchronous
B) global
C) domain
D) synchronous
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
41
Why is it generally a good practice to reuse an instantiated XMLHttpRequest object?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 41 في هذه المجموعة.