JSFiddle - React, Tailwind, and code Playground

by ismusidhu

HTML

<input type="button" value="click me" />

JavaScript

$('input:button').click(function(){
    alert('x');
    $(window.parent).trigger('hashchange');
});