On Tue, Jun 2, 2009 at 6:26 AM, Gustavo Salomé <gustavonips@gmail.com> wrote:
No way you can do this.
Ive a modified version of the plugin that i made which can do this.
Ill send to if u want it.2009/6/1 bharani kumar <bharanikumariyerphp@gmail.com>
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><?phpwhile($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 ,
--
Gustavo Salome Silva
--
Regards
B.S.Bharanikumar
http://php-mysql-jquery.blogspot.com/
No comments:
Post a Comment