JSFiddle - React, Tailwind, and code Playground
HTML
<button type='button' onclick="click_me(1,'hi foo\'s where is bar')">
11
</button>
JavaScript
function click_me(name,a){
alert(name)
alert(a)
}
<button type='button' onclick="click_me(1,'hi foo\'s where is bar')">
11
</button>
function click_me(name,a){
alert(name)
alert(a)
}