Damnation. One rule I forgot about. Maybe I could use idref ? On 12 avr, 01:23, Sanford Whiteman <[email protected]> wrote: > > The idea, however, would have be to rewrite the script so it first > > test is there is a "menu-page-item-active" div, if not, giving "Actif" > > the value "-1", and if so, taking the number written in the id of the > > element and attributes its value to the variable "Actif". > > OK, but id attributes technically can't start with numbers. It's > unlikely that this will be a problem, but it won't even old-school > validate.... > > -- S.
-- To unsubscribe, reply using "remove me" as the subject.
