Hi All, Am using the editable plug in , When i edit the values , i want to check the already exist and also want to pass the unique key to the query , for the Update WHERE condition ,
<script type="text/javascript" charset="utf-8"> var oTable; $(document).ready(function() { /* Apply the jEditable handlers to the table */ $('#example tbody td').editable( 'edit_update.php?id='(i want the getID value here ), { "callback": function( sValue, y ) { var aPos = oTable.fnGetPosition( this ); oTable.fnUpdate( sValue, aPos[0], aPos[1] ); } } ); /* Init DataTables */ oTable = $('#example').dataTable(); } ); </script> <tbody> <?php while($row=mysql_fetch_object($result)){ $id = $row->id; echo "<tr>"; echo "<td onclick = getID($id) >$row->value</td>"; echo "</tr>"; } ?> </tbody> How i do this , Thanks -- Regards B.S.Bharanikumar http://php-mysql-jquery.blogspot.com/