JSFiddle - React, Tailwind, and code Playground

by adardesign

HTML

<select>
    <option>option1</option>
    <option>option2</option>
    <option>option3</option>
</select>

JavaScript

$(function(){
    $(document).bind("click",function(){
        alert("Click event - will fire in FF")
    })
        
        $("select").bind("change", function(){
            alert("Change Event - will fire in FF, and chrome")
        })    
})