alerta de jQuery en href haga clic

$('a[href="#section"]').click(function(){
  alert('Sign new href executed.'); 
}); 
Doge Amazedo