[Javascript] How do I retrieve values from custom attributes on a DIV?

Walter Torres walter at torres.ws
Fri Jun 21 00:43:24 CDT 2002


I have a DIV with several custom attributes on it...

   <div id="areaTwo"
        name="areaTwo"
        bgColor="red"
        sizeControl="false"
        minH="50"
        minW="50"
        bufRt="100"
        bufBt="50"
        onClick='displayIt()'>Area 2</div>

In IE 4/5 I can retrieve these values, but I can't find a way to get them in
NN4/6.

Any ideas?

Walter




More information about the Javascript mailing list