Jquery - Hover effect not working when loading dynamic content - URI with hastags

前端 未结 3 432
囚心锁ツ
囚心锁ツ 2021-01-06 05:21

I am currently working the front-end on a website. I am using jquery in order to create a dynamic content.

My problem is that when I type my URI (localhost/jquery/my

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-06 05:37

    I found some solution for this problem.

    $(document).on("mousemove",".objectclass",function(){
       console.log("mousemove");
    });
    

    its works fine!

提交回复
热议问题