yes please send it On Tue, Jun 2, 2009 at 6:26 AM, Gustavo Salomé <gustavon...@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 <bharanikumariyer...@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> >> <?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/ >> > > > > -- > Gustavo Salome Silva > -- Regards B.S.Bharanikumar http://php-mysql-jquery.blogspot.com/