Make sure you use the code like this to get the value of LABEL's FOR attribute. This will work in most browsers:
Just a reminder for myself :)
var labelFor = myLabel.htmlFor || myLabel.getAttribute('for'); // htmlFor is W3.org defined and is in IE, 'for' in in FF