jquery jeditable save to database
<p>I am using the following code to enable live edit with jeditable:</p>

<pre><code>&lt;script type="text/javascript"&gt; 
$(document).ready(function(){


        var aDataSet = [
["klad1111.com","&lt;img src='world/se.png' /&gt;","-","0","0","0%","0"],
["klad2222.com","&lt;img src='world/dk.png' /&gt;","2012-12-05","1","3","300%","15"],
["klad33333.com","&lt;img src='world/dk.png' /&gt;","-","0","0","0%","0"],
["klad6666.info","&lt;img src='world/dk.png' /&gt;","-","0","0","0%","0"],
["klad44444.info","&lt;img src='world/dk.png' /&gt;","-","0","0","0%","0"],
["klad5555.com","&lt;img src='world/se.png' /&gt;","-","0","0","0%","0"],
    ];


    $('#dynamic').html( '&lt;table cellpadding="0" cellspacing="0" border="0" class="display" id="example"&gt;&lt;/table&gt;' );
    $('#example').dataTable( {
        "aaData": aDataSet,
        "aoColumns": [
            { "sTitle": "Namn" },
            { "sTitle": "Land" },
            { "sTitle": "Uppdaterad" },
            { "sTitle": "Neutrala Posts", "sClass": "center" },
            { "sTitle": "Post / Client", "sClass": "center" },
            { "sTitle": "Ratio", "sClass": "center" },
            { "sTitle": "Total Posts", "sClass": "center" }                             
        ]
    } );



    /* Init DataTables */
    var oTable = $('#example').dataTable();

    /* Apply the jEditable handlers to the table */
    $('td', oTable.fnGetNodes()).editable( 'editable_ajax.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"
    } );

});

&lt;/script&gt; 
</code></pre>

<p>Live edit kind of works, when i click on a cell i get up a input box. But the save part is not working.. I am not sure how to update my database accordingly..</p>

<p>Any ideas?</p>
