I am completely new to jquery and now, im using jeditable to allow the user to edit some information on my web page.
So here is my problem: how do you send multiple variables to a php file using jeditable? I understand that when the user clicks the submit button, the id and value will be sent 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 x and y variables to test.php when user clicks OK button in jeditable? thanks
source share