JSFiddle - React, Tailwind, and code Playground

by alokswain

HTML

<div> select some text </div>

JavaScript

$(document).ready(function(){
    $(this).bind("select", function(){
    alert("selected");
    });
    
    
    });