I want to populate JSON data in select box using only JavaScript. I cant use either JQuery or Angular.
Here is my HTML
<select name="fieldType" id="fieldType">
<option value="selectFieldType">Select Field Type</option>
</select>
And here is my JSON
"records": [
"Date",
"String"
]
Could you please guide me how do I solve this one.