I think you have not searched in google for same, There is a thousands of solutions which will fulfill your need.
Anyway do this
HTML
<select id="ddlID"></select>
JAVASCRIPT
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var selectHTML = "";
for (i = 1; i < 101; i++) {
selectHTML += "<option value='" + i + "'>" + i + "</option>";
}
$("#ddlID").empty();
$("#ddlID").append(selectHTML);
});
</script>