This is an example of remote scripting using javascript only.
No iFrames, msJava or xmlHttp objects used.
Try entering some text in one or both fields and hit the [Show Me] button.
It's all pretty boring, but it demonstrates that it is possible to send
a query string to a server side application which processes it and
returns javascript that is executed immediately. The point to this
is that you don't have to refresh the complete page while being able
to get remote content. You can use this for example to dynamically
query databases or to load specific content from your server.
Hit the [source] button to take a look at the sources of this example.
The Remote Scripting object file (rsobj.obj) contains some explanation.
The script is tested and works in Firefox, IE and Opera (v8 beta).
Drawback may be the max length of the querystring allthough I abused
this script fairly entering very long strings without problems.
Known drawback is some difficulty using characters like +& etc.,
but that is taken care of in the scripting.
If you want to send me your comments or a message, please feel
free to use
this form
in which, by the way, this remote scripting method is applied in
multiple ways.