Using eBusiness Manager JavaScripts

 

The eBusiness Manager module contains numerous client-side JavaScript functions that you can use. The JavaScripts are stored in the Common.js script file.

When adding JavaScripts, a reference to the Common.js script file should be linked in the header section of each HTML template as in the following example:

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<BASE HREF="~~base_href$~~">
<!-- $REVISION$ -->
<LINK REL="stylesheet" TYPE="text/css" HREF="http:~~STYLE$~~">
<TITLE>Internet Master CSS Generator Header Info</TITLE>
<SCRIPT language="JavaScript" SRC="Common.js"></SCRIPT>

</HEAD>

Name your field variables as descriptively as possible and use underscores to separate words in the variables because these names are used to present users with error messages. Using variable names such as CustDate may not be as clear as Customer_Date.

The scripts will format the variable names closer to the English language format, as in the following examples:  

Variable Name

Formatted Name

Customer_Date

Customer Date

CustomerDate

Customerdate

CUSTOMER_DATE

Customer Date

customer_date

Customer Date

 

For more information, see:

JavaScripts for Global Functions

JavaScripts for Menu Functions