Check if mousedown with an if statement?

前端 未结 5 687
悲哀的现实
悲哀的现实 2021-02-02 17:16

Is it possible to do something like this:

if ($(this).mousedown() == true) {

I thought that would work but it doesn\'t.

Additio

5条回答
  •  孤街浪徒
    2021-02-02 17:52

    Alright, well the best option I can give you is this: http://jsfiddle.net/qK8rr/2/

提交回复
热议问题