[JavaScript]
[Previous page] [Section contents page] [Next page]
Properties

Properties are simple bits of data that are associated with an object. To access a property the basic syntax is:

	objectName.property
	
	Example
	
	location.href
	

It's important to note that some object properties may simply be obtained from the browser and then used, but others may also be set; setting object properties allows you to change the characteristics of the current page, or to load a new page to any frame in the current browser window.

In the pages that follow, we'll look at some of the properties for the many pre-defined JavaScript objects.

[Previous page] [Section contents page] [Next page]