faqts : Computers : Programming : Languages : JavaScript : Document

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 1 people (0%) answered Yes
Recently 0 of 1 people (0%) answered Yes

Entry

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

Jun 20th, 2002 22:37
jsWalter,


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