Hi i tried to find the example, but it's hard to find any, so can you give example code how to render other file (in my case is .js.erb file) inside JS? let say i want to render it inside like this:
$("#btn").click(function(e) {
// render partial .js.erb file in here
}
Thanks