24 ways to impress your friends

Jump to menu

Vote down?

Russell Polo

Cool. I’ve been making webforms for years. I had no idea how much of a noob I was. ;-)

Is the “for” attribute a defined attribute or is it something you just made up to work with your script ?

And what does the thisId = labels[i].htmlFor; do?

isn’t getAttribute supported by IE ?