I have a below situation.
function mousemove(e){
if(left button clicked){
//drag the element
}
else{
//show the tooltip
}
}
Initially i have binded the mousemove function. while mouse moving i need to check whether the left button is clicked or not. if clicked means i need to drag it. else means i need to show tooltip.
i searched a lot. i cant get the solution for all the browser, I need to do this for IE8,IE9,IE10,IE11,Chrome, firefox and safari. please help me... thanks in advance..