Multiple Countdown Timers.

Multiple Countdown Timers.

I currently have a table with the following code

<table id="timers">
<tr>
<th>#</th>
<th>Time Left</th>
<th>Unix End Time</th>
</tr>
<tr>
<tr>1</tr>
<tr>0:00</tr>
<tr>1249779818</tr>
</tr>
<tr>
<tr>2</tr>
<tr>0:00</tr>
<tr>1249779818</tr>
</tr>
</table>


I need to use jquery to create a way to count down from the current time stamp, until the end time stamp.

So pretty much a jquery javascript class that takes a parameter for the end unix time stamp.

And each time I create an object of it, it needs to take the current time, transfer it to a unix time stamp (I can do), minus it from the end timestamp (I can do), and change it to the correct format (I can do)

I just don't know how to actually create the class, or how to create instances of the class while in jQuery.