Global GuideLine Home HTML Tutorial JavaScript Tutorial SQL Tutorial CSS Tutorial SEO Tutorial XML Tutorial XSLT Tutorial Articles Tutorial Interview Questions and Answers Guide Jobs GuideLine Bookmark With Google Bookmark With Yahoo Bookmark With FaceBook Bookmark With Live Follow @GlobalGuideLine on Twitter Bookmark Global GuideLine
JavaScript with Objects, JavaScript Tutorial, Global Guide Line Technology.
Bookmark this webpage. Bookmark: JavaScript with Objects, JavaScript Tutorial Global Guideline is UNITED STATES's favorite website

      Home                    

Basic JavaScript Guide.
 JScript Introduction.            
 JScript Why?                       
 JScript Recognitions.          
 JScript onMouseover.         
 JScript with Buttons.           
 JScript Alerts.                     
 JScript Variables.               
 JScript Operators.               
 JScript Functions.               
 JScript Prompts.                 
 JScript Conditions.             
 JScript Validations.            
 JScript Confirmation Boxes.
 JScript Browser Detection.  
 JScript Redirection.            
 JScript on Links.                 
 JScript Switch.                    
 JScript Loops.                     
 JScript Events.                    
 JScript Exception Handling.
 JScript Reserve Characters. 
 JScript with Objects.
 JScript Math Object.           
 JScript using Dates.             
 JScript using String.            
 JScript using Arrays.            
 JScript Operations.              
 JScript Handling Cookies.   
 JScript in Mapping.             
 JScript Time Out.                
 JScript Summary.                

Learn JavaScript with Examples
Learn JavaScript with hundred of short examples with code and output.
Complete_JScript_Examples.php

JScript Interview Questions & Answers
Learn JavaScript by thousands of Interview Questions & Answers.
JavaScriptQuestions/index.php

JavaScript Tutorial >> JavaScript with Objects.


     Back             Next     





What is JavaScript Object?

In Microsoft JavaScript, objects are, essentially, collections of some properties and methods. A method is a function that is a member of an JavaScript object, and a property is a value or set of some values in the form of an JavaScript array or object that is a member of an object. JavaScript supports three kinds of objects: intrinsic objects, objects we create, and browser objects, which are covered elsewhere soon.

Example of Date Object using JavaScript

<html>
<head>
<title>JavaScript Tutorial explaining JavaScript Objects</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
 function clockTick()
 {
  currentTime = new Date();
  document.clock_form.clock.value = " "+currentTime;
  document.clock_form.clock.blur();
  //this JavaScript setTimeOut() function will recall the
  //clockTick() after one second
  setTimeout("clockTick()", 1000);
 }
-->
</SCRIPT>
</head>

<body>
 <TABLE BORDER=0 >
  <TR>
   <TD>Time on your system is.</TD>
  </TR>
  <TR><TD>
   <FORM NAME="clock_form">
    <INPUT TYPE=TEXT NAME="clock" SIZE=25>
   </FORM>
  <SCRIPT LANGUAGE="JavaScript">
  <!--
    clockTick();
  -->
  </SCRIPT>
  </TD></TR>
 </TABLE>

</body>

</html>
 

Out put for above JavaScript Date object.

Time on your system is.

List of JavaScript Objects

JavaScript Object Name Object Description
JavaScript Boolean Object Creates a new Boolean value as True or False.
JavaScript Date Object Enables basic storage and retrieval of dates and times of visitor system.
JavaScript Dictionary Object Object that stores data as key, item in pairs.
JavaScript Drive Object JavaScript Drive Object provides access to the properties of a disk drive or network share.
JavaScript Enumerator Object JavaScript Enumerate Object enumerates the items in a collection.
JavaScript File Object JavaScript File Object provides access to the properties of a file.
JavaScript FileSystemObject Object JavaScript FileSystemObject provides access to a computer's file system.
JavaScript Folder Object JavaScript Folder Object provides access to the properties of any folder.
JavaScript Function Object By using JavaScript Function Object we can create a new function.
JavaScript Global Object Built-in JavaScript Global Object that collects global methods into one JavaScript Object.
JavaScript Math Object Intrinsic JavaScript Math object that provides basic math functions such as addition, multiplication, division, subtraction, etc.
JavaScript Number Object JavaScript Number Object is an representation of the number data type.
JavaScript Object Simple JavaScript Object provides functionality common to all JavaScript objects.
JavaScript RegExp Object JavaScript RegExp Object Stores information on regular expression pattern searches.
JavaScript Regular Expression Object JavaScript Regular Expression Object contains a regular expression pattern.
JavaScript String Object JavaScript String Object is an object representation of the string data type.
JavaScript TextStream Object JavaScript TextStream Object facilitates sequential access to any file saved on any location.
JavaScript VBArray Object JavaScript VBArray Object is an object representation of VBScript safe arrays.
JavaScript Collections JavaScript Collections Object is useful for collections of other objects.
JavaScript Array Object JavaScript Array Object provides support for creation of arrays of any data type.
 



     Back             Next     
 

JavaScript Screen Object Examples



JavaScript Date Object Functions and Properties Examples



JavaScript Math Object Functions and Properties Examples



JavaScript Boolean Object Examples



JavaScript Document Object Examples



In order to link this page as Reference, click on below text area and pres (CTRL-C) to copy the code in clipboard or pres right click then copy the following lines after that past into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code:

[ About ] [ Contact ] [ Home ]
[ Links ] [ Site Map ] [ Services ] [ Privacy ]

Copyright © 2005-2006 www.globalguideline.com All rights reserved. Join Global Guide Line community. 420 visitors are online now