Dev Tips

Change Text in SPAN with jQuery

//Product Currently Unavailable
$('span.productDetailUnavailable').text('SOLD OUT!').css('color','red');

 

No comments (Add your own)

Add a New Comment


code
 

Comment Guidelines: No HTML is allowed. Off-topic or inappropriate comments will be edited or deleted. Thanks.