Books
in black and white
Main menu
Home About us Share a book
Books
Biology Business Chemistry Computers Culture Economics Fiction Games Guide History Management Mathematical Medicine Mental Fitnes Physics Psychology Scince Sport Technics
Ads

Javascript for dummies. Quick Reference - Vander

Vander Javascript for dummies. Quick Reference - Wiley Publishing, 2002. - 115 p.
Download (direct link): javascriptquickreference2002.pdf
Previous << 1 .. 38 39 40 41 42 43 < 44 > 45 46 47 48 49 50 .. 72 >> Next

document.a 1inkColor
arguments
appCodeName
Use the appCodeName property of the navi gator object to access the code name of the version of Navigator currently in use. This property is a read-only property — you can’t change it.
navi gator.appCodeName
applets
The appl ets array of the document object contains entries for each of the applets currently loaded in a page.
document.applets[0] document.applets.length
appName
UsetheappName property of the n a v i g a t о r obj ect to access the name of the browser currently in use. You can’t change the value for this property.
navi gator.appName
app Version
Use the appVersion property of the navigator object to access the version of the browser currently in use. This property is a read-only property.
navi gator.appVersion
arguments
The arguments array is a property of the functi on object. The elements of the a rguments array correspond to all the arguments defined for a particular functi on object.
myFuncti on Name.arguments[0] myFuncti onName.arguments.1ength
At the time of this writing, Navigator 3.0 does not support the
functi on .arguments property.
128 bgColor
bgColor
Use the b g С о 1 о г property of the document obj ect to access the value of the BGCOLOR attribute defined within the <B0DY> . . . </B0DY> tag pair. The value of bgCol or represents the color of the entire document background, which you can easily change.
document.bgCol or
border
Use the border property of the i mage object to access or change the size of an embedded image’s border (in pixels).
document.my Image.border
checked (checkbox)
Use the checked property of the checkbox object to see whether your user has checked a check box (clicked it on) or not (clicked it off). The value for the checked property always returns either true (for checked) or false (meaning unchecked). You can change the value of this property.
document.my Form.myCheckbox.checked
checked (radio)
Use the checked property of the radi о object to see whether your user has set a radio button (clicked it on) or not (clicked it off). The value for the checked property always returns either true (for set) or false (not set). You can change the value of this property.
document.my Form.myRadi oButton[0].checked
complete
Use the comp 1 ete property of the i mage object to find out whether a user’s Web browser has completed its attempt to load an image.
document.images[0].complete
defaultStatus 12
cookie
A cooki e is a property of the document object. The value can be any string value (except no white space, semicolons, or commas are allowed). A JavaScript statement can change this property.
document.cooki e
defaultChecked (checkbox)
Use the def aul tChecked property of the checkbox object to see whether a check box was initially defaulted to selected. The value forthedefaultChecked property always returns either true (meaning that the defaultChecked property was initially defaulted to on) or false (meaning that it wasn’t). You can change the value of this property to override the default setting.
document.my Form.myCheckbox.defaultChecked
defaultChecked (radio)
Use the defaul tChecked property of the radio object to see whether a radio button was initially defaulted to selected. The value for the defaul tChecked property always returns either true (meaning that the d e f a u 11С h e с к e d property was initially defaulted to on) or false (meaning that it wasn’t). You can change the value of this property to override the default setting.
document.myForm.myRadi oButton[0].defaultChecked
defaultSelected
Use the defaul tSel ected property of the option object to see whether a selected option was selected by default (value is true) or not (value is false). You can change the value of this property.
document.myForm.selectMusi с.opti ons[0].defaul tSel ected
defaultStatus
Use the defaul tStatus property of the wi ndow object to access the default message that appears in a window’s status bar. You can change the value for this property.
window.defaultStatus
defau(t(/a(ue (password)
defaultValue (password)
Use the def aul tVal ue value of the password object to see the initially-defined default password value.
document.myForm.myPas sword.defaultValue
defauttVatue (text)
Use the defaultValue property of the text object to access the value of the VALUE attribute of a text object. You can change the value for this property.
document.my Form.myTextFi eld.defaultValue
defauttVatue (textarea)
Use the defaultValue property of the textarea object to access the contents of the textToDi spl ay textarea attribute. You can change the value for this property.
document.myForm.myTextareaFi eld.defaultValue
description
The descri pti on property is associated with both the mi meTypes object and the pi ugi ns object. When associated with themimeTypes object, the descri pti on property represents a description of a MIME type. When associated with the plugins object, descri pti on represents a description of a plug-in.
Previous << 1 .. 38 39 40 41 42 43 < 44 > 45 46 47 48 49 50 .. 72 >> Next