Hi, > This works fine, the select' option is changed, but when I select > 'Red' again the change event isn't fired, only works if I select > 'Yellow'.
On what browser(s)? -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Dec 9, 11:10 pm, rdavila <[email protected]> wrote: > Hi, I've an select element that is observed: > > <select id='colors'> > <options value='0'>-Select-</select> > <options value='1'>Red</select> > <options value='2'>Yellow</select> > </select> > > After that I've processed the form via Ajax and the select was > selected in 'Red' for example, I reset the select tag with: > > Form.Element.setValue('works', '0') > > This works fine, the select' option is changed, but when I select > 'Red' again the change event isn't fired, only works if I select > 'Yellow'. I think that the select option value is cached in the > browser, please any ideas for this "bug"? > > Regards. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
