It helps to Add an element to a selected element.
// To add “p” tag and change its background color to green.
$( “li” ).add( “p” ).css( “background-color”, “green” );
It helps to Add an element to a selected element.
// To add “p” tag and change its background color to green.
$( “li” ).add( “p” ).css( “background-color”, “green” );