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.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.