JSFiddle - React, Tailwind, and code Playground

by calder12

HTML

<td style="cursor: default;">
<div class="hdrcell filter">
    <input type="text" style="width:90%; font-size:8pt; font-family:Tahoma; -moz-user-select:text; ">
</div>

JavaScript

$(document).ready(function(){
$('div.filter').find('input[type=text]').mousedown(function(event) {
    switch (event.which) {
        case 3:
            alert('Right mouse button pressed');
            break;
    }
});
  
});