Why it's giving me raw HTML?

Posted by leomayleomay on Stack Overflow See other posts from Stack Overflow or by leomayleomay
Published on 2010-06-13T08:43:28Z Indexed on 2010/06/13 8:52 UTC
Read the original article Hit count: 144

Filed under:
|

I'm using Facebox, and when I tried to change the content of a tag, it's giving me raw HTML but the rendered form, the code snippet is:

jQuery('#facebox .content').html("<%= escape_javascript(render :partial => 'form')%>");

Anybody has any idea about this? Thanks a lot.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ruby-on-rails