I have a problem with element which is both draggable and also has a click event.
$(\'.drag\').mousedown(function() { //... }); $(\'.class\').click(function
It's ok, but you should alway remember, that user can move mouse slightly during the click and don't notice that. So he'd think hi clicked and you – that he dragged