I am editing a div and trying to send new text in the div with the url, I can't figure out how to append new text at the end of the url, I tried the method below to no success.
$(document).ready(function() {
$('.edit').editable(function(value, settings) {
var $this = $("#edit").text();
$.ajax({
type: 'post',
url: "url"+$this,
success: function(event) {
console.log($("#edit").text());
}
});
return(value);
}
});