HTML and CSS Reference
In-Depth Information
JavaScript Element
Description
responseXML
An XML document object contained in the server response
status
The HTTP status of the response
statusText
The text of the HTTP response status
timeout
The timeout value in milliseconds after which the request is canceled
upload
A set of registration properties used to monitor the request upload
withCredentials
A Boolean indicating whether authentication credentials are required
Methods
getAllResponseHeaders()
Returns the response headers sent by the server
getResponseHeader( id )
Returns the specific response header identified by id
open( method , url [, async ,
user , pwd ])
Assigns a method and url of a pending request, specifies whether to submit the
request asynchronously using async , and provides the user name user and pass-
word pwd if necessary
overrideMimeType( mime )
Sets the MIME type, mime , of the server response
send([ message ])
Sends a request to the server where message is an optional message with the request
setRequestHeader( name , value )
Specifies the request header using a name - value pair
Common Page Element Properties
The following table lists properties that are common to all page elements.
Property
Description
accessKey
A keyboard shortcut to the element
class
The class to which the element belongs
contentEditable
A Boolean that indicates whether the content is editable
dir
The direction of the text within the element
draggable
A Boolean that indicates whether the element can be
dragged on the page
dropzone
A Boolean defined for page elements that are drop targets
for draggable objects
hidden
A Boolean that indicates whether the element is displayed
on the page
id
The identifier of the page element
lang
The language of the text within the element
spellcheck
A Boolean that indicates whether the element should be
spell checked
style
An inline style for the element
tabIndex
The tab index of the element within the page
title
The Tooltip text for the page element
Search WWH ::




Custom Search