I am using Netbean IDE 8.1 to build the website.
I build a very simple website with simple Javascript function, window.alert().
Upon my testing, I put the button triggered function in the javascript but the function is not triggering.
If I put the function under the HTML, it does triggered the function.
Any idea?
Please note that I also have linked my HTML file to the Javascript file.