JSFiddle - React, Tailwind, and code Playground
by donggyu04
HTML
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<input/>
<button id="click-btn">button click</button>
<button id="mouseup-btn">button mouseup</button>
<button id="mousedown-btn">button mousedown</button>
JavaScript
$(function(){
$('input').blur(function(){
console.log('blur')
});
$('#click-btn').click(function(){
console.log('click')
});
$('#mouseup-btn').mouseup(function(){
console.log('mouseup')
});
$('#mousedown-btn').mousedown(function(){
console.log('mousedown')
});
});