Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Which HTML form builderby dorward (Curate) |
on Jan 23, 2008 at 17:00 UTC ( [id://663834]=note: print w/replies, xml ) | Need Help?? |
You might be better off dropping this and using an id instead. This has a number of advantages. First, an id is supposed to represent a unique thing, whereas class is for groups. Second, in order to use label elements most effectively, you need to use a for attribute rather then nesting the control inside the label (this is due to the for approach having better support from browsers) - so you should have a unique id on each control anyway.
In Section
Seekers of Perl Wisdom
|
|