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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.