Firing a event or dispatching a event

Discussion created by shashank_a on Apr 23, 2013
Latest reply on Apr 23, 2013 by shashank_a

Can some body suggest or guide on how to dispatch a event from a java script method some thing like dispatchEvent() in the Adobe Flex framework.

Is that possible from the ESRI Java script API or not?

One more thing can we create a custom layer which displays some html content on the map.
I mean I need to create layer to display a html page on the map.