How i get appointment time (From time,To time) in jquery
<p>I am selecting time slot on dragging on time slot cell. After selecting time slot, I enter patient name in textbox and click on select button then patient name goes to selected time slot. The user can select multiple time slot for multilpe patient name and onclick of allot button I have to insert patient name with time slot (From time To time) to database. </p>

<p>I have problem in getting alloted time slot ie.From time and To time in jquery.</p>

<pre><code>$("#btnAllot").click(function () {
    //how i get alloted time here.
    $('tr').each(function () {
        $(this).find('td').each(function () {
            if ($(this).hasClass('yell')) {
                alert($(this).closest('tr').find('td:eq(0)').text());

            };
        });
    });
}
</code></pre>

<p><a href="http://jsbin.com/udimuq/edit#javascript,html,live" rel="nofollow">see jsbin on dragging on time slot cell</a></p>
