JSFiddle - React, Tailwind, and code Playground

HTML

<input type='radio'>
<input type='checkbox'>
<select></select>

JavaScript

$('input, select').click(function(e){
   console.log(e.target.type); 
});