I work with MS Dynamics CRM 2013 and I face the problem that when I want to add an event handler to the "Documents" button in the navigation bar,

The jQuery.on () function does not work with the click event. It works great with mouseover or mouseup events, but it doesn't work with click. Here is the code I'm using:
$("#crmMasthead").on( "click", "#Node_navDocument", function(){ alert("Success!"); } );
Where:
Please help me with this problem. Thank you in advance!
EDIT
Here is the html I'm dealing with:
Before the user opens the navigation bar in CRM 2013:
<body>
...
<div id="crmMasthead" tabindex="-1">
<div class="navStatusArea" id="navStatusArea"></div>
<div class='navBar' id='navBar'>...</div>
<div class="navBarOverlay" id="navBarOverlay" style="display: none;"> </div>
</div>
...
</body>
A user has just opened the navigation bar in CRM 2013:
<body scroll="no">
...
<div id="crmMasthead" tabindex="-1">
<div class="navStatusArea" id="navStatusArea"></div>
<div class='navBar' id='navBar'></div>
Changed:<div class="navBarOverlay" id="navBarOverlay" style="display: block;"></div>
New: <div class="navActionGroupContainer" style="">
...
<a class="navActionButtonContainer navActionButton navActionButtonDefault normal " id="Node_navDocument" role="button" title="Documents" href="javascript:;" unselectable="on" style="background-color: #555555">...</a>
...
</div>
</div>
...
</body>
source
share