JSFiddle - React, Tailwind, and code Playground
HTML
<script>
function get_ver(el) {
var ver = $(el).closest("td").find("option:selected").val();
alert(ver);
var inuyt = $(el).closest("td").find("input");
inuyt.val(ver);
alert(inuyt.val());
return false;
}
</script>
<table width=100% cellSpacing=0 cellPadding=5 border=1 bordercolor='#006600' height=20 valign=top>
<tr>
<td>
<h3>User Created BaaS Profiles</h3>
</td>
</tr>
<form enctype='multipart/form-data' action='#' method='post' onSubmit='return validate();'>"
<tr id='info' name='info'>
<td>
<input type='radio' name='profile_select' value='$pol_id' />
</td>
<td><a href='index.php?xtype=user_admin'>1</a>
</td>
<td>
<p>First policy</p>
<div class='texthv'>
<a href='dnd.php?pid=$pol_id'>First policy</a>
<div class='texthv'>
<br/><b><a href='dnd.php?pid=$pol_id' class='texthidevisi'>View |</a></b>
<b><a href='javascript:void' class='texthidevisi'>Edit |</a></b>
<b><a href='index.php?pid=$pol_id&acc_id=$account_id&xtype=rename' class='texthidevisi'>Rename |</a></b>
<b><a href='index.php?pid=$pol_id&acc_id=$account_id&xtype=delete_file' class='texthidevisi'>Delete</a></b>
</div>
</td>
<td id='VER' name='VER'>
<select id='OSVER' name='OSVER' onchange='get_ver(this);'>";
<option value="2">two</option>
<option value="3">three</option>
<option value="4" selected>four</option>
</select>
<input name="input1" value="">
</td>
<td>CSC Baseline</td>
<td>Final date | Modified Date</td>
</tr>
<tr id='info' name='info'>
<td>
<input type='radio'...