Jquery Click Event Not Firing On First Click, but does on second click, why?

前端 未结 4 1167
无人及你
无人及你 2021-02-15 15:20

I\'ve got a jQuery code, which

$("a.reply").click(function() {
//code
});

When I click the link with .reply class the fir

4条回答
  •  伪装坚强ぢ
    2021-02-15 15:44

    Use Inline CSS for hiding div and use JS/jQuery to show . This way Jquery Click Event will Fire On First Click

         
    About us

提交回复
热议问题