jQuery check if target is link

后端 未结 7 1388
傲寒
傲寒 2021-02-07 23:49

I have a global function to capture clicks.

$(document).click(function(e){
  //do something
  if(clickedOnLink)
    //do something
});

I want t

7条回答
提交回复
热议问题