Scripting Samples

Using script in your Web pages can enhance the functionality of your Web applications. Whether you are using server-side script to connect to a database, or using client-side script for HTML form validation, your Web application becomes more dynamic to the users browsing the pages.

Even if you are not familiar with creating script, you can use the design-time controls (DTCs) provided with Microsoft® Visual InterDev™. You can use the DTCs to write some of your code for you simply by setting the properties in the control. The control then generates the script for you.

For more information, see Scripting with Design-Time Controls and Script Objects.

The samples in this section show different ways to use server-side and client-side scripting to enhance your Web application. In some cases server-side scripting is used to write client-side script.

To See
Use cookies to save user preferences User Preferences
Read client browser information Site Hits Log
Update multiple new records to a table in a database Opinion Survey
See code generated by design-time controls Using Controls
Track session information Shopping Cart
Write client-side script with server-side script User Notification
Use DHTML to enhance the look of your Web page Transitions and Filters
Move objects on the page Timeline