JSFiddle - React, Tailwind, and code Playground
by tahir
HTML
It's a good thing <span id="copyright" class="copyrightClass">™ </span>
<br/>
Wait for trademark to appear below in 2 seconds. Trademark symbol will be returned by an ajax call.
<br/>
It's a good thing <span id="copyrightDelayed" class="copyrightClass"></span>
CSS
.copyRightClass {
font-weight: bold;
}
JavaScript
function callback(data, textStatus, jqXHR){
$("#copyrightDelayed").html(" surely " + data);
}
$.ajax("/echo/html/",
{type:"post", data: {html:"™", delay: 2}, success: callback}
)