I need write a custom array or JSON to populate a Listbox/dropdown box/select box and add an attribute selected="selected".
For example:
<select id="test1" name="selectB" class="Field">
<option value="NO" selected="selected">No (Recommended)</option>
<option value="YES">Yes</option>
</select>
I cannot figure out how to do this.