Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting JavaScript from a server
Message
From
11/02/2002 14:58:51
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Getting JavaScript from a server
Miscellaneous
Thread ID:
00618531
Message ID:
00618531
Views:
46
I have a requirement to populate the city, state, and county fields based upon the zip code. Using a submit repositions the page when it is redrawn and thus fails the usability test. I have seen websites that load JavaScripts built on the fly by using the SRC= to fill page items dynamically. Here is a sample of such a call with the actual server name removed.
<SCRIPT LANGUAGE="Javascript" SRC="http://somesite.com/cgi-local/page?getData+js">
</SCRIPT>
When I do it on my server, I get the "Do you want to Run this program or Save it to disk" dialog.

My question: What do I need in the return document so the Javascript runs in the browser when arrives?

*Or* does someone have another suggestion to populate the city, state and county from the user entered zip code?

Thanks,
David.
Next
Reply
Map
View

Click here to load this message in the networking platform