faqts : Computers : Programming : Languages : JavaScript : Forms : Legends

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

7 of 10 people (70%) answered Yes
Recently 3 of 6 people (50%) answered Yes

Entry

How do I script a LEGEND element?

May 7th, 2000 07:16
Martin Honnen,


As there is no DOM legend property or legends collection it seems best 
to ID your LEGENDs if you need to script them as then
  document.all['legendID']
in IE4/5 and
  document.getElementById('legendID')
in NN6 and IE5 allow to script the LEGEND element.