Here's the scenario. I have written some functions in a js file common.js and included it above another js file let's name it x.js
Now when I try to call those functions (written in common.js) in x.js under the window.onload function - an error pops out in the console saying reference error: not defined.
Now even I tried to use an alert in common.js - it does not pop out ?