When doubleClick an element, I'm trying to get a url, then pull the replace the html of #propertiesBox
with the contents of that url.
$('.elemContainer').dblclick(function() {
$.get("/ui/propertiesBox", function(data) {
$("#propertiesBox").html(data);
alert("Load was performed.");
});
});
The url I want to get is views/ui/_propertiesBox.html.erb