Create an onLoad() Client Script
- Create a new Client Script
Name: Lab 2.1 onLoad Alert Table: Incident [incident] UI Type: Desktop Type: onLoad Active: Selected Inherited: Not selected Global: Selected Description: Lab 2.1 onLoad Client Script
- Note the onLoad() function template populates the script field. Replace the existing comment and add the following alert to the function
function onLoad(){ //Type appropiate comment here, and begin script below alert("The form has finished loading and is ready for user input"); }
- Select Format Code to re-align the script (This is a good habit to get into)
- Select Submit