[Javascript] HTML Tag that can hold data for JavaScript?

judah judah at drumbeatinsight.com
Wed Feb 23 19:08:05 CST 2005


What I'd like to do is create a tag that holds data that I can access in 
Javascript like this:
<mycustomtag myProp1="myValue1" myProp2="myValue2"/>

but I don't know how to access the properties in js. I enumerated and 
there was no properties. Is there a tag that exists that I can use? I 
need it to be hidden because I only want to access it from js.

Judah


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.3.0 - Release Date: 2/21/2005




More information about the Javascript mailing list