I have a table that looks like this:
Title | Price
A
B
C
I get the title from mysql and the price comes from php script.
My jquery for Price column looks like this:
<script type="text/javascript" >
$(function() {
var price = setInterval(function()
{
$('#A').load('live_price.php?title=A').fadeIn("slow");
},6000);
});
<script>
live_price.php does all the crunching and spits out a number.
Now, in this case, price update every 6 seconds and updates each row. My problem has to do with sorting this new content.
I tried using:
$("table").trigger("update");
and
$("table").trigger("sorton",[sorting]);
without any success. Please help