我希望在鼠标光标没有完全转到下一个tr时取消拖动动作。
$('#tableAppointment tbody tr td:nth-child(2)').mousedown(function (ev)
{
//mousedown code
});
$('#tableAppointment tbody tr td:nth-child(2)').mousemove(function (ev)
{
//mousemove code
});
$('#tableAppointment tbody tr td:nth-child(2)').mouseup(function (ev)
{
//mouseup code
});