Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project



Remote Scripting With JavaScript and ASP



Introduction

One of the things I like about CarPoint is that when you choose the make of car you're after from one list, all of the models for that make of car automatically appear in a list on the same page without any page refreshing. I was curious as to how NineMSN accomplished this, so I decided to investigate and delve into the world of remote scripting technologies.

Remote scripting is an extremely powerful feature available in both Netscape Navigator (4.x and above) and Internet Explorer (4.x and above). It allows us to use a combination of scripting languages to call server side ASP code from client side pages. Remote scripting treats our ASP pages as objects and allows us to use the object.method syntax to reference the functions contained within them.

In this article we're going to look at how to setup remote scripting on the client and server, as well as two examples.

You should have IIS installed on a Windows 98, NT, 2000 or XP web server as well as SQL Server 2000 and ADO version 2.5 or above installed. You should be familiar with JavaScript and ASP, and have a little bit of SQL knowledge. By the end of this article you should have enough knowledge to implement your own version of the examples shown in this article.

Contents

  1. Introduction
  2. What is remote scripting?
  3. Testing remote scripting
  4. Enabling remote scripting on the server side
  5. Another remote scripting example
  6. Conclusion
 
 
  1 2 3 4 5 6
 

   
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information
knoxville photographer
knoxville wedding photographer