Training, Tutorials & Guides
alert("I am an alert box!");
to the lib/js/dept.js file and save your changes.
Now go to a HTML page on your site and add the following:
<input type="button" onclick="show_alert()" value="Show alert box" />
and save your changes.
You should end up with an alert box like below. If it does not work then indeed there is probably an issue with the JS file setup and Web Development Services will need to be contacted to repair (extension 7975):