Ruby on Rails Friday, April 30, 2010

Hello the following I am getting for the server How do i append it to my view in a html format.
response = { "data": "<div class="datatable-column-header col1">Name</div>" }
currently I am doing the following

something.prepend(
response.data);

and the output on view I am getting string from <div class="
datatable-column-header col1">Name</div>.

Thanks for any help
abhis

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment