query features in a given polygon

Discussion created by rgarfinkel on Apr 16, 2012
Latest reply on Apr 17, 2012 by rgarfinkel
I am new to the ArcGIS API for Javascript - I have to draw a polygon & on finish drawing get a list of the features within the polygon extent - I was able to draw the polygon - not sure what API methods to use to get the visible features withng the polygon extent - any help would be greatly appreciated