I have a json located in http://example.com/json
The result of json is like this :
{"result":[{"id":"1","lob_group_desc":"ENTERPRISE"},{"id":"2","lob_group_desc":"SME"}]}
How to loop them in <select>
What I expected was like this :
<select class="form-control" id="component">
<option>ENTERPRISE</option>
<option>SME</option>
</select>