Editable w/ Server Side Processing Popup question
Editable w/ Server Side Processing Popup question
Hi all,
Stumbled across this wonderful plug-in a couple of days ago and I've been tinkering with it ever since. I'm new to PHP and jquery but I've been able to successfully create an editable table with server side processing (MySQL). I'm able to retrieve the table and edit the rows but I'm having trouble with one thing. After I edit a column and hit enter, I'm prompted with a small pop up window. The pop up is titled "The page at localhost says:" and displays a value of what was entered in the column. After I hit enter or select 'OK' the column is then updated. Does anyone know how to bypass this pop up entirely?
index.html
[code]
$(document).ready(function() {
$('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "../server_side/scripts/DataSet.php"
} ).makeEditable({
sUpdateURL: "../server_side/scripts/UpdateData.php"
});
} );
[/code]
I've searched through the java script files and html/php looking for the strings "the page at" and "says:" to no avail. Thanks.
Stumbled across this wonderful plug-in a couple of days ago and I've been tinkering with it ever since. I'm new to PHP and jquery but I've been able to successfully create an editable table with server side processing (MySQL). I'm able to retrieve the table and edit the rows but I'm having trouble with one thing. After I edit a column and hit enter, I'm prompted with a small pop up window. The pop up is titled "The page at localhost says:" and displays a value of what was entered in the column. After I hit enter or select 'OK' the column is then updated. Does anyone know how to bypass this pop up entirely?
index.html
[code]
$(document).ready(function() {
$('#example').dataTable( {
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "../server_side/scripts/DataSet.php"
} ).makeEditable({
sUpdateURL: "../server_side/scripts/UpdateData.php"
});
} );
[/code]
I've searched through the java script files and html/php looking for the strings "the page at" and "says:" to no avail. Thanks.
This discussion has been closed.
Replies
[code]
echo $_POST['value'];
[/code]
After the code has successfully processed the update. Any other response (or no response) will bring up the alert.