I have an input field in js page likewise i need to create in jsp page, please guide me
attached code of js is https://www.paste.org/124319
for the another js file https://www.paste.org/124321
    $("input[value='Table']").attr("onclick","javascript:showWaitImage('" +
 chartId + "'); setHCFormField('frmChart_" + chartId + "', 'view_type' 
,'T'); displayHCChart('" + chartId + "');");
I have created a jsp button which works similar
<button chartId="200121"  domain="MI"  chartname = "bplist" buttonName= 
    "Table" id = "bodyContent"
                                                                data-keypage="chartModal" class="btn btn-primary pull-right values">
                                                                <span class="sr-only">BP List</span>BP List</button>
but buttonName= "Table" is not going in query param Convert this js script to jsp input fiels
