This question has already been answered:
There is a link presented on the site as a picture:
![one]](https://i.stack.imgur.com/LQuuY.png)
I hung a script on it:
$('#header_logo').click(function(){ alert("eqw"); } But when you click on an image, the action of the link just happens, i.e. go by href. There is no alert at all. I tried to do the same with headings even: 
But the result does not change. Shotakoe?
UPD
Thanks Grundy , for the umpteenth time! :) The problem was in the syntax (my eyes ...) and, apparently, in the function:
$('#page_header').on('click', function(event){ alert("eqw"); });