Combine JavaScript Samples

Discussion created by vopgis on Feb 24, 2012
Latest reply on Jun 5, 2012 by johnny.penet-esribelux-com-esridist
I'm trying to combine 2 of the JavaScript samples, specifically the Identify & Find Results in DataGrid. I started with the latter and then tried to add/combine the identify. When I add the Identify HTML to the body at the bottom it appears on loading of the map. Any ideas on how to keep the identify pop-up hidden until it is clicked? I thought it might have something to do with a piece of code in the Find Sample near the top where it shows dojoConfig = { parseOnLoad:true } . I'm sort of new to Javascript and combining samples. I've been able to make a few of the others work together such as adding the Navigation toolbar but this is puzzling. I've attached the code as a .txt file. Ultimately I'd like to be able to use the Identify in multiple Apps and simply call it through the code from a particular source. Any help would be appreciated.