bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 573 forks source link

Render partial not working in ajax:success #634

Open rainyhuynh opened 3 years ago

rainyhuynh commented 3 years ago

I need to load partial after ajax:success but not working $('.bom-success').bind("ajax:success", function(){ $('.building-bom').html("<%= escape_javascript(render "deals/contents/building_bom") %>") });

Can you give me advice how to solve this problem.

Thank you very much. Rainy.