I know that in the layout you can enumerate classes like this: class="banan fruit"
, and is it possible to list id
as well? Type id="form_datebirthday datepicker"
??
1 answer
No, id
is a unique identifier and there should not be several of them.
- even if I register the element id = "tree" id = "two" - it still does not roll? - oldzas
- one of them will be available (in DOM), most likely the first one - Maksym Prus
- one@oldzas, why such perversions? I believe that in any context of your task, you can do with standard rules, without breaking anything. - stck
- Why maybe you need some IDs? you can do without them. Look in the direction of priorities in the KCC! - markuper
|