title: ESRI JS API Querytask multiple results
body: <p>Query looks like query.where = Abbrev = 'BLOC' OR Abbrev = 'ZACH' OR Abbrev = 'MSC' </p>
  
  <pre><code>function getLocRes(results) {
  console.log("getLocRes",results);
  var geom;
  //geom = results.features[0].geometry;
  //console.log("geom",geom);
  //console.log("extent0",extent);
  var symbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([80, 0, 0]), 2), new dojo.Color([80, 0, 0, 0.5]));
  var res = results.features;
  console.log("symbol",symbol);
  console.log("res.length",res.length);
  //map.graphics.clear();
  for (var i = 0;i &lt; res.length; i++) {
      console.log("i=",i);
      console.log("res[i].geometry=",res[i].geometry);
      var reGeo = res[i].geometry;
      var graphic = new Graphic(reGeo,symbol);
      var graphic = reGeo;
      console.log("graphic=",graphic);
      graphic.setSymbol(symbol);
      map.graphics.add(graphic);
      console.log(map.graphics.length);
  }
  //var extent = geom.getExtent();
  alert(map.graphics.graphics.length);
  //map.setExtent(extent, true);
  console.log("extent1",extent);
  }
  </code></pre>
  
  <p><a href="http://www.dexconor.com/map/img/esri3.png" rel="nofollow">http://www.dexconor.com/map/img/esri3.png</a>
  the image is result in chrome console</p>
  
  <p>so it seems like something wrong with var graphic = new Graphic(reGeo,symbol);
  even 'for' doesn't work.</p>
  
  <p>Can anyone give me some ideas?</p>