using:
 function mProcessMsg(evt) {
    Event.stop(evt);
    new Ajax.Updater('showMessageDiv', 'mail/process_message.php', {
        parameters:  $('showMessageDiv').down('form').serialize(true),
        onFailure: function(response) {
         alert ("mail.js: failure to submit form - getmessage");
        }
    });
    }

I have no problem unless one of the form elements is an array.
eg:

Message TO:
<select name="to" multiple="" length="4">
<option> george </option>
<option> william </option>
</select>

submits fine,
but

Message TO:
<select name="to[]" multiple="" length="4">
<option> george </option>
<option> william </option>
</select>

gets the error:
Error: $("showMessageDiv").down("form").to is undefined

What would be the workaround ?
bill


-- 
Bill Drescher
william {at} TechServSys {dot} com


--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to