Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











METHOD:  Array::pushNetscape Only Feature


Array.push(element1, ..., elementN)
 
The push method is used to add one or more elements to an array, returning the new length of it. This affects the length of the array.
 
The following example creates an array 'trees' of two elements and then adds two more using the push method.
 
Code:
trees = ["oak", "ash"]
document.write(trees.push("beech", "pear"))

 
Output:
4

 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information