Try changing your query.where statement to this unless you have a field called Upper(ADDRESS1):query.where = "ADDRESS1 LIKE '%" + station.toUpperCase() + "%'" ;Also you have an extra space in the onclick event:onclick="executeQueryTask(dojo.byId('station').val ue);" Change it to:onclick="executeQueryTask(dojo.byId('station').value);" I hope this helps.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.