[thelist] getting text from a label tag?
.jeff
thelist at lists.evolt.org
Fri Nov 1 16:22:01 2002
tom,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Tom Dell'Aringa
>
> Anyone know how to get the text from a label tag? For
> example I want to get 'snowman' from:
>
> <label for="somefield">snowman</label>
>
> If I give it an ID I can access it as an object, but so
> far no luck in getting the text. obj.text or obj.value
> doesn't work..
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
try innerText;
.jeff
http://evolt.org/
jeff at members.evolt.orghttp://members.evolt.org/jeff/