<script>
window.onload = function(){
var e = document.getElementById('Rock');
var arr = new Array(1,3,5,6);
for (var i = 0; i < arr.length; i++)
{
var option = document.createElement('option');
option.innerHTML = arr[i];
e.appendChild(option);
}
}
</script>
<select id="Rock"
</select>