Dojo, how to do onclick event on a DIV
问题 There was a fade out sample in the internet.. http://docs.dojocampus.org/dojo/fadeOut?t=tundra but i want to do something different.. i want people directly click on the text then the text will fade out. in my code there is a div wrap the text <div id='parentNode'> <div id='textDiv' onClick='whenClickAnyWhereWithinThisDiv_performFadeOut()'> <div id='iconDiv'/> <div id='messageDiv'/> </div> <div> Code as show below, what i want is, when people click anywhere within the textDiv, then the whole