JSFiddle - React, Tailwind, and code Playground
HTML
<span id="GridView1_ctl04_lblWord">
<select id='selPdf56' class='selectMenu'>
<option value='g38' >A Form</option>
<option value='g39' >B Form</option>
</select></span>
<a id="GridView1_ctl04_lnkWord" href="javascript:proDoc('56','g38');">Word DownLoad1</a>
<a id="GridView1_ctl05" href="javascript:proDoc(56,document.getElementById('selPdf56').options[document.getElementById('selPdf56').selectedIndex].value);">Word DownLoad2</a>
JavaScript
function proDoc(myDEID,myForm){
alert('Active');
}