Sorry for my beginners problem. I have two forms on one page and I
need send all data through Updater. Is possible merge serialized data
(two serialize or serializeElements )? My way is getHash=false,
serialize first form and use string of the form for second variables,
exist better solution?
new Ajax.Updater(
{success: element, failure: 'notice'},'/mypage.php',
{
method: 'post',
asynchronous:true,
parameters: $(formname).serialize()+'&actuser='+actuser
+'&code='+code+'&action='+action+'&type='+type+'&id='+id,
onSuccess: function(transport){
var response = transport.responseText || "no response text";
}
}
);
Thanks very much
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---