Training,  Tutorials & Guides

Checking to see if your JavaScript File is Operational in OmniUpdate

If you suspect that your JavaScript file in Omni is not working properly, here is a simple test.

Add

function show_alert()
{
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):

Web Resource Services : jason.kennedy@uvu.edu
Utah Valley University • 800 West University Parkway • Orem, UT 84058 • (801) 863-INFO (4636) • Rights and Responsibilities | © 2011 UVUFeedback/Report Errors