Thank Richard, I found the following codes gave me the solutions for Dynamic Select Options.
<table id="myordertable">
<tr>
<td><span style="max-width:20%; color:green;">Code</span></td>
<td><div id="dynamicInput"></div></td>
<td><input type="text" id="code" name="code" placeholder="Design Code.."></td>
</tr>
</table>
<script>
document.getElementById("dynamicInput").onload =addInput('dynamicInput');
function addInput(divName) {
var newDiv = document.createElement('div');
var selectHTML = "";
selectHTML="<select>";
for (var row = 0; row < 2; row++) {
for (var col = 0; col < 5; c++) {
var MyVal=document.getElementById("mytable").rows[row].cells[col].innerHTML;
selectHTML += "<option value='" + MyVal + "'>" + MyVal + "</option>";
}
}
selectHTML += "</select>";
newDiv.innerHTML = selectHTML;
document.getElementById(divName).appendChild(newDiv);
}
</script>