Client scripts

Client scripts are not necessarily associated with an event. In HTML or JSP documents surround these scripts with SCRIPT tags. (The integrated Script editor can do this for you.) The scripts are evaluated as they are loaded with the Web page. They can include functions that can be called by other scripts.

<SCRIPT Language="JavaScript">
		function navigate(myform){
			durl=(myform.mylist.options
			[myform.mylist.selectedIndex].value);
			location.href=durl;
		}
</SCRIPT>

In the integrated Script editor, use the pop-up menu to create a new client script. Client scripts are part of an array of Script objects.