function displayAttributeInfo(graphicJson){ var theGraphic = new esri.Graphic(graphicJson); var theSurface = new dojox.gfx.createSurface("graphicSurface", 20, 20); var theShape = theGraphic.getDojoShape(); theSurface.add(theShape); $("#attributeContent").html(theGraphic.getContent()); }