The name causes the same problems in jQuery. We would have to take them both
out.
..tony..

On Tue, Oct 13, 2009 at 4:11 PM, Tony Collen <[email protected]> wrote:

> +1... if anything lose the id and leave the name, although I don't see the
> harm in ditching both.
>
>  -Tony
>
> On Tue, Oct 13, 2009 at 6:03 PM, Tony Mann <[email protected]> wrote:
>
>> By default, merb sets the name and ID of a submit button to "submit". This
>> causes the jQuery submit() method to fail in some cases. Now, this is
>> clearly a bug in jQuery and not Merb, but setting the ID and name to
>> "submit" seems fairly pointless, and if it causes problems, why do it? I
>> recommend that we change merb-helper to use no default name and ID for
>> submit buttons. Thoughts?
>> ..tony..
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to