VBScript is *server-side* code...built on the request/response model. The web server can't react until something ie. a request, is sent *back* to the server. Meaning, it's too dumb to know what is going on in the client's browser. In ASP.NET, no problem...but this is one of the limitations of Classic ASP.