Amit D has Published 118 Articles

How to add table row in jQuery?

Amit D

Amit D

Updated on 17-Dec-2019 06:47:44

6K+ Views

To add table row in jQuery, use the append() method to add table tags.ExampleYou can try to run the following code to learn how to add table row in jQuery:Live Demo           jQuery Add Table Rows                table{ ... Read More

How to change the background image using jQuery?

Amit D

Amit D

Updated on 11-Dec-2019 08:34:53

2K+ Views

To change the background image using jQuery, use the jQuery css() method. The background-image CSS property is used to change background image.ExampleYou can try to run the following code to learn how to change background image using jQuery:Live Demo $(document).ready(function(){     $("body").on({       ... Read More

How to set background image in CSS using jQuery?

Amit D

Amit D

Updated on 11-Dec-2019 08:20:50

734 Views

To set the background image using jQuery, use the jQuery css() method.ExampleUse the background-image property to add background image to the web page.Live Demo $(document).ready(function(){    $(".bg").css("background-image", "url('/css/images/css.jpg')"); });

How to underline a Hyperlink on Hover using jQuery?

Amit D

Amit D

Updated on 11-Dec-2019 08:17:41

440 Views

To underline a hyperlink on hover using jQuery, use the jQuery css() property. The color text-decoration  property is used.ExampleYou can try to run the following code to learn how to underline a hyperlink on hover:Live Demo           jQuery Hyperlink Decoration         ... Read More

How to change the 'text-decoration' property with jQuery?

Amit D

Amit D

Updated on 11-Dec-2019 08:12:16

620 Views

To change text decoration property with jQuery, use the jQuery css() property.ExampleYou can try to run the following code to change text-decoration property from underline to overline:Live Demo $(document).ready(function(){     $("p").on({         mouseenter: function(){         $(this).css({"text-decoration": "overline"});     ... Read More

How to remove underline with jQuery?

Amit D

Amit D

Updated on 11-Dec-2019 08:11:27

345 Views

To remove underline from a text in jQuery, use the jQuery css() method. The css property text-decoration property is used with none value.ExampleYou can try to run the following code to remove underline:Live Demo $(document).ready(function(){     $("p").on({         mouseenter: function(){     ... Read More

How to remove underline from text hyperlink using jQuery?

Amit D

Amit D

Updated on 11-Dec-2019 08:05:30

546 Views

To remove underline from text hyperlink on hover using jQuery, use the jQuery css() property. The color text-decoration property is used with value none.ExampleYou can try to run the following code to learn how to remove underline from text hyperlink:Live Demo           jQuery Text Decoration ... Read More

How to change the background color using jQuery?

Amit D

Amit D

Updated on 11-Dec-2019 08:04:36

9K+ Views

To change the background color using jQuery, use the jQuery css() property. We will change background color on mouse hover with the jQuery on() and css() method. ExampleYou can try to run the following code to learn how to change background color using jQuery:Live Demo $(document).ready(function(){   ... Read More

How to set background color in jQuery?

Amit D

Amit D

Updated on 11-Dec-2019 07:59:07

5K+ Views

To set the background color using jQuery, use the jQuery css() property. We will set background color on mouse hover with the jQuery on() method.ExampleYou can try to run the following color to set background color in jQuery.Live Demo $(document).ready(function(){     $("body").on({       ... Read More

How to trigger the same function with jQuery multiple events?

Amit D

Amit D

Updated on 11-Dec-2019 07:06:41

4K+ Views

To trigger the same function with multiple events, use the jQuery on() method with multiple events such as click, dblclick, mouse enter, mouse leave, hover, etc.ExampleYou can try to run the following code to learn how to work the same function with jQuery multiple events:Live Demo ... Read More

Advertisements