Hi folks.  I'm having some issues with a textarea that isn't holding
its carriage returns ('\r') passed through to my middleware.  For
instance, if someone has 2 paragraphs, they end up being passed inline
as one single paragraph.  I'm grabbing the value instead of parsing the
whole form, which is just a single textarea anyway:

var myComment = myForm.myComment.value;

How can I make sure the \r's are returned properly into the var, and
furthermore into the ajax.updater?

Cheers


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to