Sending Parameters with jEditable issue

Sending Parameters with jEditable issue

vmanvman Posts: 35Questions: 3Answers: 0
edited September 2013 in General
Hey guys! I am trying to send extra parameters over the URL with jEditable and it doesn't seem to be sending at all! I can't figure out why, so I wonder if posting it here would give me some guidance. Here is my editable code!

[code]
"fnDrawCallback": function () {
$("#product-table'.$i.' tbody td").editable("../ajax/admin/editable_ajax.php", {
"callback": function( sValue, y ) {
editor' . $i .'.fnDraw();
},
"submitdata": function(value, settings) {
return {
"hotelid" : "'.$hotels[0].'",
"rowId" : this.parentNode.getAttribute("id"),
"columnId" : editor' . $i .'.fnGetPosition( this )[2]
};
}
} );
},
[/code]

And here is what editable_ajax.php looks like:

[code]
$data['hotelid'] = $_REQUEST['hotelid'];
$data['changedValue'] = $_POST['q'];
$data['type'] = 'marketChange';
$data['rowId'] = $_REQUEST['rowId'];
$data['column'] = $_REQUEST['columnId'];
[/code]

None of these parameters seem to catch except for $data['changedValue'], so I don't know what is going on... Thanks for any help!
This discussion has been closed.