Jquery change background color

前端 未结 3 1202
耶瑟儿~
耶瑟儿~ 2020-11-29 19:17

I was trying out jquery with this example:

 $(document).ready(function(){
      $(\"button\").mouseover(function(){
        $(\"p#44.test\").css(\"backgroun         


        
3条回答
  •  孤街浪徒
    2020-11-29 20:16

    try putting a delay on the last color fade.

    $("p#44.test").delay(3000).css("background-color","red");
    

    What are valid values for the id attribute in HTML?
    ID's cannot start with digits!!!

提交回复
热议问题