[thelist] getting text from a label tag?

Tom Dell'Aringa pixelmech at yahoo.com
Fri Nov 1 16:13:01 CST 2002

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..


var me = tom.pixelmech.webDeveloper();

[Making A Commercial Case for Adopting Web Standards]

Do you Yahoo!?
HotJobs - Search new jobs daily now

More information about the thelist mailing list