[Project_owners] <listcell /> dia JavaScript

Paul Tomlin paul at paultomlin.com
Sat Oct 8 19:37:33 EDT 2005

Paul Tomlin wrote:
> Before I go tearing my hair out over this, is there a way to 
> access/change a @label on a <listcell /> via script?
> listitem.childNodes is an array of elements which return 'listcell' for 
> listitem.childNodes.item(?).tagName.
> However (from XulPlanet) <listcell /> doesn't have a label property 
> within script. listitem.label (understandably) refers to the @label on 
> the <listitem /> so I can't actually see a way to get at or change the 
> @label on a <listcell />


listitem.childNodes.item(?).setAttribute('label', "don't be so stupid");

More information about the Project_owners mailing list