On Jun 3, 2009, at 5:56 PM, Gustavo Salomé wrote:
If youre talking about Jeditable then id of the edited dom element is
sent automatically. There is no need for any unorthodox magic.
Try get it here:
http://jsbin.com/ejejo/edit
I made a live example too.
2009/6/3 bharani kumar <bharanikumariyer...@gmail.com>
The Boss ,
Link redirecting site not working BOSS ,
Please provide alternate link,
Thanks
On Tue, Jun 2, 2009 at 10:38 PM, Gustavo Salomé
<gustavon...@gmail.com> wrote:
Its here:
http://jquery.izfree.com/editable.js
Now any function get the return (data, object)
You can use it, for example, this way:
$('object').editable({onSubmit:function(data,$this){
class=$this.attr('class');
}});
2009/6/2 bharani kumar <bharanikumariyer...@gmail.com>
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/
--
Gustavo Salome Silva
--
Regards
B.S.Bharanikumar
http://php-mysql-jquery.blogspot.com/
--
Gustavo Salome Silva
--
Mika Tuupola
http://www.appelsiini.net/