JSFiddle - React, Tailwind, and code Playground

HTML

<input type="button" value="test" />

JavaScript

$('input[type=button]').click( function() {
 s("test - <b>test</b> <b>est - test:  \"test\" for equities.");   
});

function s(value){
 alert(value)   
}