Jeditable not working (not sending request to server)
Jeditable not working (not sending request to server)
Hello, I'm new to this server.
Thank you for your work, this plugin is really great.
So basically, i need to update the data in my table on the server, here is my code :
"sAjaxSource": "toto.php?sEcho=1",
"fnDrawCallback": function( oSettings ) {
$('td', oTable.fnGetNodes()).editable( 'update_toto.php', {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
},
"submitdata": function ( value, settings ) {
return {
"row_id": this.parentNode.getAttribute('id'),
"column": oTable.fnGetPosition( this )[2]
};
},
"height": "14px"
} );
},
When i click on a td, it changes to let me modify the value. But then, nothing is sended to server. When i open the console of firebug, there is no request POST nor GET captured.
So i dont know what is the problem.
Can someone help me?
Thank you for your work, this plugin is really great.
So basically, i need to update the data in my table on the server, here is my code :
"sAjaxSource": "toto.php?sEcho=1",
"fnDrawCallback": function( oSettings ) {
$('td', oTable.fnGetNodes()).editable( 'update_toto.php', {
"callback": function( sValue, y ) {
var aPos = oTable.fnGetPosition( this );
oTable.fnUpdate( sValue, aPos[0], aPos[1] );
},
"submitdata": function ( value, settings ) {
return {
"row_id": this.parentNode.getAttribute('id'),
"column": oTable.fnGetPosition( this )[2]
};
},
"height": "14px"
} );
},
When i click on a td, it changes to let me modify the value. But then, nothing is sended to server. When i open the console of firebug, there is no request POST nor GET captured.
So i dont know what is the problem.
Can someone help me?
This discussion has been closed.
Replies
The problem is i can't access the plugin website so i didn't knew you need to add this option