I have the following button in my ASPX page -
$('#btnHello').click(function () {
alert('Hi there');
});
Which works as expected and presents the alert, however I want to move this event into my global.js file with the exact same logic. I am referencing this file at the top of my ASPX page however the event is not firing. How can I achieve this?