<select class="field" name="field" id="selectfield"> <option value="FIRSTNAME">First Name</option> <option value="LAST_NAME">Last Name</option> <option value="Service_ID">Service ID</option> <option value="TOWNSHIP">Township</option> </select>
var sel = dom.byId("input1").value; query.where = " (select option variable) LIKE'" + sel +"'";
Solved! Go to Solution.
query.where = optionValue + "LIKE '%" + sel +"%'";