i don't know if this is intentional, or if no one's noticed it, or what, but in the last two releases, i've had to add a fix to Form.reset():
-- 1.6.0.2/3: var Form = { reset: function(form) { $(form).reset(); return form; }, -- My fix: var Form = { reset: function(form) { form = $(form) form.reset(); return form; }, Since reset is a native method not returning anything, you obviously can't chain it on the return line, but it didn't make much sense to me why the form element isn't $()'d first. i personally have several forms where i want to highlight the first element after resetting the form, so i use Form.reset('formid').focusFirstElement(). -joe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---