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.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.