Send a suggestion!

We're building a brand new version of the site, and we'd love to hear your ideas

Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 52,257 times

Contents

Downloads

Related Categories

Remote Scripting With JavaScript and ASP - Introduction

devarticles

Introduction

This article was contributed by the team at devArticles.com. If you're after free programming eBooks then please click here.

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 cool examples that I've come up with in the last week to put remote scripting to good use.

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 a bit of SQL knowledge wouldn't hurt either. By the end of this article you should have enough knowledge to implement your own version of the examples shown in this article.

Visit http://www.devarticles.com for more articles and free programming eBooks, or visit Socket6.com for your dose of daily developer news!

© devArticles.com 2001

Comments

  • Remote Scripting

    Posted by kumar_siva on 31 Jan 2006

    hi,
    i tried this it working in my local server (windows 2000). But when i uploaded these files on the internet server it showing an error message "OBJECT DOES NOT SUPPORT THIS PROPERTY OR METHOD"...

  • applet-free remote scripting for asp.net

    Posted by jimmyjam on 04 Nov 2003

    there are several applet-free alternatives to microsoft's implementation of remote scripting that will work with ASP.NET

    cross browser remote scripting client
    http://authors.aspalliance.com/thycot...

  • Remote scripting.

    Posted by rv_2000 on 07 Oct 2003

    I have read this article on Remote scripting with Asp. I am wondering :rolleyes: if any support is there with Asp.Net. If there what are the relevant links to practice remote scripting with asp.net. ...

  • Tried Installing JVM but still doesnt work

    Posted by Nikhil on 27 Sep 2003

    hi,
    I am trying some remote scripts. I am getting the same error "Failed to create the ASP object: url". I tried installing the JVM, but still i am receiving the error. I am pasting my code here f...

  • SQL Remote Scripting

    Posted by shep on 25 Jun 2003

    All I want to beable to do is have the Remote scripting return a matrix of the querry I submitted. I tried going through the tutorial on remote scripting step by step and can't get the List People SQL...