[Javascript] accessing a <label>

Rick Pasotto rick at niof.net
Sun Jun 3 16:00:10 CDT 2007


How do I access the <label> element associated with an <input>?
I'd like to add a class to change the background if validation fails.

-- 
"The country has charms only for those not obliged to stay there."
		-- Edouard Manet
    Rick Pasotto    rick at niof.net    http://www.niof.net



More information about the Javascript mailing list