mistype, should read:
>to work nice with reset buttons use
> .set('defaultChecked',bool) BUT remember to set also
> the current state .set('checked',bool) which could be different.
update (still working on the tests and on an explanation article):
-use el.defaultChecked=bool beacause .set('defaultChecked',bool) is
not trapped correclty by mootools it seems (I might be wrong)
-try to set those properties *after* elemente has been attached to
another element (else IE delays the parsing and behaviour change)
On Mar 19, 5:46 pm, Vittorio <
Vittorio.Zampare...@gmail.com> wrote:
> I found out I was making the WRONG question:
> I actually mixed the current state with the default state.
> But since i did many tests and found many strange things I'm going to
> post a report on them.
> For now just get this: to work nice with reset buttons use .set
> ('defaultChecked',bool) BUT remember to set also the current state .set
> ('defaultChecked',bool) which could be different.
> Same thing I think for select.
>
> Seehttp://
www.w3.org/TR/2000/CR-DOM-Level-2-20000307/html.html(search
> defaultChecked)
> andhttp://
msdn.microsoft.com/en-us/library/ms533715(VS.85).aspx