[Javascript] hashes

Rodney Myers rodney at aflyingstart.net
Thu Jul 26 11:40:19 CDT 2001


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 at ssistant Add-ons and Developer Workshops
http://www.aflyingstart.net/addons/

Enquiries regarding Shop at ssistant Classic training :
Call 01256 880770

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





More information about the Javascript mailing list