Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] hashes


  • From: javascript@xxxxxxxxxx (Rodney Myers)
  • Subject: [Javascript] hashes
  • Date: Thu, 26 Jul 2001 17:40:19 +0100

David Levy wrote:

(if one looked at page source!)

> I mean an associative array.<

Yes there is.

var ABC= new Array();
ABC["A"]="Apple";
ABC["zoo"]="Zoological Gardens";
ABC["march"]=3;
ABC["abc123"] = new productObject("Alphabet",5.99,1,4,"toys");

hth

Rodney

--
Shop@ssistant Add-ons and Developer Workshops
http://www.aflyingstart.net/addons/

Enquiries regarding Shop@ssistant Classic training :
Call 01256 880770

Rodney Myers
Based in Oxford, England
Technical Director, Shop@ssistant eCommerce Solutions