infoWindow onHide event

Discussion created by SRoberts on Mar 20, 2012
Latest reply on Mar 20, 2012 by SRoberts
I am using the attribute inspector with a feature layer on my map.  I need to know when a user closes the infoWindow by clicking the x or close button.  The map.infoWindow "onhide" event fires every time the user clicks on the map, so this will not do.  Does anyone know how how to create an event listener for the onClick event of the close button on the infWindow dijit?  The button doesn't have an id attribute that I can refer to, and i haven't been able to find anything in the Dojo dijit documentation to help me.