Client/server gateway JSAPI example

This sample demonstrates an implementation of the Client/server gateway JSAPI available from PengoWorks.com. This tool allows the web page to request information back from the server as the content of the form changes, without reloading the page.

You must download and install the gateway JSAPI independently. The example assumes the gateway JavaScript is available at the web path /lib/. If the demo doesn't seem to work, this path is probably wrong. You can change it by editing the value for gatewayjsapipath in /gallery/Application.cfm.

Enter a ZIP code and the city and state fields will fill automatically. Note: to reduce download time, only states beginning with A or C (that's Alabama, Alaska, American Samoa, Arizona, Arkansas, California, Colorado, Connecticut) are included. Download the full set from PengoWorks.com. Here are some sample ZIP codes to try: 35577, 35544, 36858, 35282, 36318, 99632, 99503, 96799, 85043, 85290, 86028, 72532, 72201, 72576, 93140, 92707, 92420, 94170, 93740, 93668, 90716, 90001, 90231, 94605, 81013, 80934, 81302, 80252, 80022, 80545, 80633, 06114, 06538.

Techniques demonstrated