Thursday, September 1, 2011

JavaScript Objects


Java Script Objects

Java Script is object based language, it is not support completley OOPs (Object Oriented Programming) features, you may confuse how you create object from another object rather than create object from class normally we do it in any object oriented programming language like C++, Java or dot net.

Javascript support both built in objects as well as you can create your own custom objects, there are more than 20 objects, in these section we know in details about them.
JavaScript's built in objects from the core of the logical event-driven environ meant within which scripts are designed. These objects (frames, windows, documents, forms, and son on) behave in predictable ways and can be manipulated through their well-defined properties and methods. Built in objects are those that are automatically included in the java script environment; you don not have to create them or do anything to make them accessible other refer to them within a script whenever they are nodded. 

Sr.
Objects
Object Description
1
Anchor
Consist of text string identifying a hypertext link in an HTML document.
2
Button
Lets you define and control a push button that appears on an HTML from.
3
Checkbox
Lets you exert control over a check box within an HTML form.
4
Date
Provides access to date and time functions within a Java Script.
5
Document
Consist of properties and methods associated with a specific HTML document file.
6
Element Array
Represents a list of individual from elements accessible through an indexed array.
7
Form
Consists of the properties and methods associated with individual forms in an HTML document and form objects.
8
Frame
Consists of an individual scrollable windows established through tag and capable of displaying HTML documents.
9
Hidden
Provides access to hidden objects that exits on a form.
10
History
Consists of an accessible list of a URL links compiled during the course of a user navigating through a series of web pages.
11
Link
Represents a hypertext link in the form of text or image
12
Location
Provides specific data on the currently active URL.
13
Math
Performs a wide range of mathematical functions.
14
Navigator
Provides version of Navigator
15
Password
Provides access to that portion of an HTML form that is used to process text field containing a password. entered characters are marked as asterisks.
16
Radio
Lets you control access to a radio button embedded in an HTML form.
17
Reset
Provides access to a reset button appearing on an HTML Form.
18
Select
Provides indexed array access to the contents of a selection list or a scrolling list appearing within an HTML form.
19
String
Perform string manipulation.
20
Submit
Perform processing of submit buttons that have been defined in an HTML document.
21
Text
Provides access to text input fields that are used on a HTML form.
22
Textarea
Offers processing of scrollable, multiline text blocks that can be embedded within an HTML form.
23
Window
Represents the second highest level objects in the hierarchy.

No comments: