Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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");
    });
  });
});
Comment

how to change the background color in jquery

$("#co").click(function(){
   $(this).css({"backgroundColor" : "blue"});
});
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript change attribute 
Javascript :: jquery set value by name 
Javascript :: js get time in am 
Javascript :: how to remove the last character of a string in javascript 
Javascript :: CLEAR FORM using jquery 
Javascript :: react native build android apk 
Javascript :: javascript hass class 
Javascript :: jquery datatable destroy and recreate 
Javascript :: jquery disable select 
Javascript :: vue get window width 
Javascript :: set value in span using jquery 
Javascript :: js range 1 to n 
Javascript :: jquery if null or empty 
Javascript :: NullInjectorError: No provider for HttpClient! 
Javascript :: js timer loop 
Javascript :: unable to resolve path to module eslint 
Javascript :: jquery reset form 
Javascript :: how to play jquery audio 
Javascript :: jquery 1 second after page load 
Javascript :: javascript onclick href location 
Javascript :: jest timeout 
Javascript :: get params in nuxtjs 
Javascript :: Get random name from an array in javascript 
Javascript :: setinterval in angular 6 
Javascript :: javascript byte array to hex string 
Javascript :: convert 2 dimensional array to js object 
Javascript :: js get string before character 
Javascript :: string to number angularjs 
Javascript :: javascript search on docuemt for text on iframe 
Javascript :: dangerouslySetInnerHTML did not match error in React 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =