JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" id = "helpdesk_ticket_custom_field_rma_210279">


<input type="button" id="rmabutton" onclick="RMA()" value="Generate RMA #">

JavaScript

$("#helpdesk_ticket_custom_field_rma_210279").keyup(function(){

    $("#rmabutton").hide();
    
});