
This is a dragable image like Facebook. When I drag it change JavaScript value. The Question is how can I get this value to PHP and when I click the button it should save changes?
This is the code JavaScript:
$(document).ready(function(){
$('.wrap').imagedrag({
input: "#output",
position: "middle",
attribute: "html"
});
});
And this is HTML:
<span id="output"></span>
Also I want to save it into database from the variable of PHP.