Hi Grzesiek,

Try with the callback option:

callback 
V1.5 
function(form) {Form.serialize(form)}
A function that will get executed just before the request is sent to the 
server, should return the parameters to be sent in the URL. Will get two 
parameters, the entire form and the value of the text control. 

new Ajax.InPlaceEditor('id', 'url', { callback: function(form, value) { return 
'myparam=' + escape(value) }})

Hope this helps!

Thank you,
Mandy.
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to