JSFiddle - React, Tailwind, and code Playground
HTML
<select id="mySelect">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>
<table id="myTable">
<tr id="tr-1">
<td id="td-1"></td>
</tr>
</table>
<input id="mybutt" type="button" value="Click Me">
JavaScript
/* jQuery
$('#mybutt').click(function() {
var selcar = $('#mySelect').val();
$('#td-1').html(selcar);
});
*/
document.getElementById('mybutt').onclick = function() {
var selcar = document.getElementById('mySelect').value;
//alert(selcar);
document.getElementById('td-1').innerHTML = selcar;
};