I have a webmap in ArcGIS Online that contains a single polygon layer. I would like to be able to query the map after a user submits an address and then return a True/False result based on if the address is inside the polygon or not. What would be the minimum javascript code to get started with this? IM just getting started with the ESRI API's and would appreciate any input to get started.
TIA,
Chris