Change SPAN content in JQUERY

To change a DIV / SPAN content in JQUERY

DIV / SPAN ID

$(‘#info’).text(‘Share’);

DIV / SPAN CLASS

$(‘.info’).text(‘Share’);


For HTML Contents

DIV / SPAN ID

$(‘#info’).text(‘Share’);

DIV / SPAN CLASS

$(‘.info’).text(‘Share’);

Advertisements
Change SPAN content in JQUERY