Menu
Hi all
I am including a js file in the HEAD of my page as such:
<script type=”text/javascript” src=”/scripts/common.js”></script>
and just for test purposes, in my common.js file I have the following:
[CODE]
function tester() {
alert(‘tester’);
}
window.onload = tester();
Am I right in thinking that when I view my web pages, I should get an alert? For some reason it is not alerting anything!!!
Thanks for reading.