Get content from HTML element in Rails
- by Ignace
Hey,
I'm looking for a way to get the content of my div in my Rails view. I would like the literal HTML content, so only HTML and no Rails
I thought inner_html would work, but I get a RJS exception (TypeError: $("content").innerHtml is not a function)
Does anyone know how I can get the content?
Thanks!