Chapter 14. Super-Charged Client-Side Scripting

In this chapter, you continue to investigate client-side scripting, but you examine advanced technologies that give much needed functionality and extensibility to client-side pages. This includes:

  • Scriptlets

  • Behaviors

  • HTML components

Each of these are subjects broad and deep enough to be books of their own, so this chapter focuses on small, well-tested examples that cover the major techniques required for you to begin using these technologies. In reality, to achieve maximum gain from these technologies, you'd have to read masses of documentation — a lot of which is very poorly written. This chapter shows you what is possible and how to go about doing it. The authors will have achieved what they've set out to do if, by the time you have finished this chapter, you can make any sense of the official documentation!

Microsoft's documentation is available as a free download at www.microsoft.com/scripting.

Requirements and Browser Security

Even though these are advanced applications and tools, the main thing you still need is a good text editor to manage these technologies. The following table lists the applications you need to make use of the technologies.

Technology

Requirements

Scriptlets

Internet Explorer 4 or later

Behaviors

Internet Explorer 5 or later

HTML Components

Internet Explorer 5 or later

The Internet Explorer browser is a security-aware application. Every component contained within the browser (flaws and bugs aside) is subject to the security ...

Get VBScript Programmer's Reference, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.