Customizing C++ Wizards with Common JScript Functions
When you create a wizard project with the Custom Wizard, your project includes Common.js. If you specify a user interface for your wizard, the project also contains HTML pages that specify the JScript script language and include the file Common.js, as follows:
<SCRIPT ID="INCLUDE_COMMON" LANGUAGE ="JSCRIPT"></SCRIPT>
The wizard also creates a unique file called Default.js. You can customize your own JScript functions in Default.js. See The JScript File for more information.
Common.js contains functions that you can call from each wizard's HTML pages and from Default.js. If you have the same functions that you would like to use across different wizards, you can place these functions in Common.js.