Ok...I am banging my head into hamburger. Is this possible? Am I doing life right?
I have a value called "myValue.id" in a javascript function and I need to pass this value as a variable into a rails partial "new" but I do not know how. This is an old rails 2.3 app any help is appreciated... here is what this looks like....
eventClick: function(myValue, jsEvent, view) {
console.log("eventClick function called");
console.log("myValue.id "+myValue.id);
jQuery('#remote_container').html('<%= escape_javascript(render :partial=>"new", :locals=>??????) %>');
jQuery('#new_event').modal('show');
}