trying to add color on a result

Discussion created by dexconor on Feb 25, 2014
function onResults(results) {;
 var geom = results.features[0].geometry;
 var extent = geom.getExtent();
 var symbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.sym bol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([80,0,0]), 2), new dojo.Color([255,255,0,0.5]));
 var graphic = results.features[0];;
 map.setExtent(extent, true);

It zooms into the result but no graphic change.

I'm not sure what did I miss here?

Please help me thanks,