How i get last cell where user ends dragging
<p>I am dragging on cells.
    using below code i am getting start cell text where i start dragging.
    How i get last cell text where user stop dragging.</p>

<pre><code>var firstcell= $('td.csstdhighlight:first').text();
</code></pre>

<p>On dragging i m adding class to cell</p>

<pre><code>$(".csstablelisttd").mousedown(function (e)
            {
                //This line gets the index of the first clicked row.
                lastRow = $(this).closest("tr")[0].rowIndex;
                $(".csstdhighlight").removeClass("csstdhighlight");
                $(this).children(":not(:first)").addClass("csstdhighlight");
                e.preventDefault();
                flag = true;
                return false;
            });
</code></pre>
