i need this ä,ö,ü to transfer via prototype ajax like this
saveEntry: function()
{
new Ajax.Request("index.php?m=ku&c=saveEntry",
{
method:''post'',
evalScripts:true,
parameters:$(''FormKu'').serialize(1),
onSuccess: function(transport)
{
var response = transport.responseText;
loadSubData(''Ku'',''ku'',''getList'','''');
//alert("Success! \n\n" + response);
} ,
onFailure: function(){ alert(''Error!'') }
});
},
When i set a sngle var like this
vars = vars +
''&content=''+encodeURIComponent($("content").value)
this is encode ight.
How can i do that ith serialie in the example above?
____________
Virus checked by G DATA AntiVirusKit
Version: AVK 18.1913 from 09.12.2007
Virus news: www.antiviruslab.com
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---