priority-web-sdk: Implementing a choose-field
问题 I'm trying to implement a choose-field with a <select> control. <div id="container" onchange="fieldChangeHandler(event)"> ... <div class="item" > <label>Status</label> <select id="STATDES" onfocus="focusdiv(event)" onblur="defocusdiv(event)"></select> </div> In the updateFields() handler I identify the control type: function updateFields(result) { if (result[myForm.name]) { var fields = result[myForm.name][1]; for (var fieldName in fields) { var el = document.getElementById(fieldName); if (el