hot to starts selection from only on currently drag td
<pre><code>  $(document).live('mouseup', function () { flag = false; });
            $(".csstablelisttd").live('mousedown', function (e)
            {

                $(".csstdselected").removeClass("csstdselected").addClass('csstdgreen');
                //This line gets the index of the first clicked row.
                lastRow = $(this).closest("tr")[0].rowIndex;
                var rowIndex = $(this).closest("tr").index();
                var colIndex = $(e.target).closest('td').index();
                $(".csstdhighlight").removeClass("csstdhighlight");


                //$('td:nth-child(' + colIndex + ')').addClass('csstdhighlight');

                //$(this).children(":gt(" + colIndex + ")").addClass("csstdhighlight");
                $(this).children(":not(:first)").addClass("csstdhighlight");
                e.preventDefault();
                flag = true;
                return false;
            });
            document.onmousemove = function () { return false; };
            $(".csstablelisttd").live('mouseenter', function (e)
            {
                // Compares with the last and next row index.
                currentRow = $(this).closest("tr")[0].rowIndex;
                if (lastRow == currentRow || lastRow == currentRow - 1 || lastRow == currentRow + 1)
                {
                    lastRow = $(this).closest("tr")[0].rowIndex;
                } else
                    return;

                if (flag)
                {


$(this).children(":not(:first)").addClass("csstdhighlight");
                        e.preventDefault();
                        if ($(".csstdhighlight").length &gt;= 6)
                        {
                            //alert("Time slot not more than 45 minutes.");
                            flag = false;
                        }
                    }
                });
</code></pre>

<p>See in my table there are 8 coloumns and 48 rows I haev to do user can start drag only one coloumn but more than 1 rows </p>

<p><a href="http://jsfiddle.net/jquYB/" rel="nofollow">Demo</a></p>
