Answers for "add styling to .html() in jquery"

CSS
1

styling element using jquery

Syntax:
$(selector).css(property-name:property-value);

Example:
$('.bodytext').css('color':'red');
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language