i'm quite new to jquery and right now, im using jeditable to let the user edit some information on my webpage.
So here's my problem, How do you send multiple variables to the php file using jeditable? i understand that when the user clicks the submit button, the id and value will be POST-ed to the php file.
so let's say i have this code:
var x = 1;
var y = 2;
$('.edit_area').editable('test.php', {
type : 'textarea',
cancel : 'Cancel',
event : "dblclick",
submit : 'OK',
indicator : '<img src="img/loading.gif">',
tooltip : 'Click to edit...'
});
how can i send the x and y variables to test.php when the user clicks the OK button in jeditable? thanks