Hi,
> Btw, does it work if you don't use method: 'get' (and use the default
> 'post') instead?
great :-) with post method the form send the correct value on multi-lines.

well... now I must only display the two row on two line on web page after
send success.

I think I can try to replace the eol with a BR

Thank you,
Antonello



>
> On 1/6/06, Jon Tirsen <[EMAIL PROTECTED]> wrote:
>> That sounds odd. Could you give us a dump of the request content as it
>> comes back, please?
>>
>> On 1/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> > Hi to all.
>> >
>> > First of all exchuse for my bad english
>> >
>> > I try to use Ajax.InPlaceEditor with a textarea:
>> > ##################
>> > new Ajax.InPlaceEditor($('ipblock'), 'tools/admin_save.php',
>> >     { ajaxOptions: {method: 'get'},
>> >       rows:10,
>> >       cols:20,
>> >       callback: function(form, value) { return 'op=ipblock&value=' +
>> value},
>> >       onBlur: function(request) {Element.show('indicator')},
>> >       onComplete: function(request) {Element.hide('indicator')}
>> >     });
>> > ##################
>> >
>> > I try to write 2 row, but when the form is submit I have only one row
>> > after send success.
>> >
>> > I must add some code to JS for use multirow textarea?
>> >
>> > Thank you
>> > Antonello
>> > _______________________________________________
>> > Rails-spinoffs mailing list
>> > [email protected]
>> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>> >
>>
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>

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

Reply via email to