Answers for "change color jquery css"

4

change background colour jquery

$(document).ready(function() {
  $("button").mouseover(function() {
    var p = $("p#44.test").css("background-color", "yellow");
    p.hide(1500).show(1500);
    p.queue(function() {
      p.css("background-color", "red");
    });
  });
});
Posted by: Guest on October-06-2020
40

jquery css

$('#element').css('display', 'block'); /* Single style */
$('#element').css({'display': 'block', 'background-color' : '#2ECC40'}); /* Multiple style */
Posted by: Guest on March-04-2020
3

how to change the background color in jquery

$("#co").click(function(){
   $(this).css({"backgroundColor" : "blue"});
});
Posted by: Guest on July-09-2020
5

edit css jquery

$('.ama').css('color','red');
Posted by: Guest on March-23-2020
0

change color jquery css

$(document).ready(function(){
  $("div").mouseover(function(){$(this).css("color","blue")
   $("div").mouseover(function(){$(this).css("color","black")
});
Posted by: Guest on September-04-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language