JQuery Onmouseover selection attribute

后端 未结 1 1196
失恋的感觉
失恋的感觉 2020-12-22 04:13

I have been playing a bit with jQuery\'s onmouseover function. The code bellow does the following: when the user hovers the links, it triggers the titles(text) with a css(t

相关标签:
1条回答
  • 2020-12-22 05:08

    to trigger mouseover event in all elements inside a div you use sth like this :

    $("selector").mouseover(function(){
        $(this).find("*").each(function(){
             $(this).trigger("mouseover");
        });
    });
    
    0 讨论(0)
提交回复
热议问题