I've had a look at the mootools core and the toQueryString() method contains the following line:
"if (!el.name || el.disabled || el.type == 'submit' || el.type == 'reset' || el.type == 'file') return;" If "el.type == 'submit'" is removed the code works as expected. I'm not sure if this is a bug or a deliberate behaviour? If it is deliberate can anyone explain the rationale behind it and also how you would handle a scenario where a form has multiple submit buttons with logic based on their value? Thanks, SJ On Nov 27, 12:41 am, raider <[email protected]> wrote: > Hi, > > I've had to upgrade some mootools code from 1.2.1 to 1.2.4. Everything > worked fine before but now the values on our submit buttons aren't > being sent in the request. The following code is similar to what I've > been given: > > http://paste.mootools.net/d3cd8526a > > Does anyone have any ideas as to why this is happening? Same thing in > Firefox 3.5 and IE7. > > Thanks, > > SJ
