Visual InterDev

Scripting with HTML Elements

Even if you do not use design-time controls in your Web page, you can create fully-functional Web applications by creating and scripting HTML elements. Doing so is more involved than using design-time controls, but might be useful if you prefer scripting HTML elements yourself or if you are working with pages that might be shared with an application other than Microsoft® Visual InterDev™.

Creating script for specific tasks usually means that you must understand how different elements of Web pages fit together, and how the browser (or client) and server interact. It is also important to understand the capabilities of different scripting environments — or example, knowing whether the script will run on certain browsers.

To See
Specify that you want to use VBScript or JScript™ for a document or just one script Choosing a Scripting Language
Write script and attach it to HTML elements Handling Events with HTML Elements
Use HTML elements (rather than design-time controls) to create forms, and write script to process forms Gathering Information with HTML Forms
Present dynamic information to the user in message boxes or on the page Displaying Information to the User
Use script to move to a specific page in the application Navigating Conditionally
Make information available on multiple pages Sharing Dynamic Information
Write script once and use it in multiple pages Writing Reusable Script
Write scripts that will run with different browsers Creating Portable Script