<div id="demo-stage">
    <span id="demo"></span>
</div>

<script type="text/javascript">
YUI().use('node', function(Y) {
    var onClick = function(e) {
        Y.one('#demo').setXY([e.pageX, e.pageY]);
    };

    Y.one('#demo-stage').on('click', onClick);
});
</script>
