view.when(function(){
        view.on("click", function () { doSomething = !doSomething;});      
    });

The above works as a global click event. *HOWEVER*, I am trying to specify a specific div elem not a global elem. *i.e.* The logic I'd like:

    view.when(function(){
        view.on("click", #myDivElm function () { doSomething = !doSomething;});        
    });