function mProcessMsg(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.

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

submits fine,

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

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

What would be the workaround ?

Bill Drescher
william {at} TechServSys {dot} com

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to