I use Twitter Bootstrap and decided to use X-editable with it. I put in all the necessary files and it works fine except that I want to pass values to post.php
where I want PHP to process $_POST["value"]
.
Markup of the editable element is
<a href="#" id="example">Example</a>
I call it like this
$(function() {
$.fn.editable.defaults.mode = 'inline';
$('#example').editable({
type: 'text',
pk: 1,
url: 'post.php',
title: 'Enter example'
});
});
I used jEditable as an inline editor in which I passed on values to a php file with no problems and I would like to do so with X-editable but I can't seem to do it.
How do I pass the values to post.php
so I can use php to manipulate the data?