JSFiddle - React, Tailwind, and code Playground

HTML

<form  id="new-ticket-form" action="/contact_form.html" method="post"  >
        <input type="hidden" name="MAX_FILE_SIZE" value="100000000">
        <input type="hidden" name="fullname" value="JOhnny test'">
        <input type="hidden" name="order_num" value="123456">
        <input type="hidden" name="phone" value="347-489-4874">
        <input type="hidden" name="email" value="[email protected]">
        <input type="hidden" name="fromorderpage" value="yes">        
        <table>
            <tr>
                <td class="label">
                    New Ticket Subject:
                </td>
                <td class="field">
                    <select name="subject_id">
                    <option value="0">Select one ...</option>';
                    <option value="123">Confirm Delivery Appointment</option>';
                    <option value="124"> Reschedule Delivery Appointment</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="label">
                    Summary:
                </td>
                <td class="field">
                    <input type="text" name="summary" value="This is a test disregard">
                </td>
            </tr>
            <tr>
                <td class="label">
                    Your Message:
                </td>
                <td class="field">
                    <textarea name="usr_msg" placeholder = "This is a test disregard">This is a test disregard</textarea>
                </td>
            </tr>

            <tr>
                <td class="submit" colspan="2"><input type="submit" value="Submit Ticket" name = "btn_submit">  
                </td>
            </tr>
        </table>
    </form>
            
            <button id="submit-test">Test</button>

JavaScript

$(window).ready(function() {
    $('#new-ticket-form').on('submit', function() {
        console.log('OK');
    });    
    
        $('#new-ticket-form').submit();
    
});