JSFiddle - React, Tailwind, and code Playground

by Md. Atiquzzaman Soikat

HTML

<button>
test
</button>

JavaScript

$(function()
{
	  $(document).on('click', 'button', function(){
			alert('hello');
      });
      
      $(document).on('click', 'button', function(){
			   $(this).off();
       alert('hello1');
      });
});