Dojo, como hacer evento onclick en un DIV

Hubo una muestra de desaparición en internet.http://docs.dojocampus.org/dojo/fadeOut?t=tundra

pero quiero hacer algo diferente ... quiero que la gente haga clic directamente en el texto y luego el texto se desvanecerá.

en mi código hay un div envolver el texto

<div id='parentNode'>
    <div id='textDiv' onClick='whenClickAnyWhereWithinThisDiv_performFadeOut()'>
       <div id='iconDiv'/>
       <div id='messageDiv'/>
    </div>
<div>

Código como se muestra a continuación, lo que quiero es que cuando la gente haga clic en cualquier lugar dentro de textDiv, todo el textDiv se desvanecerá ... hmm ... ¿por qué mi código no funciona?

function whenClickAnyWhereWithinThisDiv_performFadeOut () {
    ...
    ...
    dojo.connect(dijit.byId('textDiv'), "onClick", fadeOutAndRemove(parentNode, textDiv));
}
function fadeOutAndRemove (parent, currentDiv) {
    // just assume i can get the parent Node, and the current div, which will be textDiv       

    var objectId = currentDiv.getAttribute('id');
    dojo.style(objectId, "opacity", "1");
    var fadeArgs = {
        node: objectId,
        duration: 2000
    };
    dojo.fadeOut(fadeArgs).play();

    setTimeout(function() { parent.removeChild(currentDiv);}, 2000);
}

Respuestas a la pregunta(1)

Su respuesta a la pregunta