Ask a Question related to Adobe Acrobat Windows, Design and Development.
-
babycody@adobeforums.com #1
JavaScript code question
I have had some trouble with this code. This is the code I used to tie in the street address with the combo box selection:
var gstreet = new Array
gstreet["ALB"] = 7601 Bluewater NW
gstreet["ATL"] = 1800 James Pkwy NW
gstreet["BUF"] = 1200 William St. Room 100
gstreet["CHI"] = 7500 W. Roosevelt Rd.
gstreet["CIN"] = 3055 Crescentville Rd.
gstreet["DAL"] = 2400 DFW Turnpike
gstreet["DES"] = 4000 109th St.
gstreet["DEN"] = 7755 E. 56th Ave.
gstreet["DET"] = 17500 Oakwood Blvd.
gstreet["GRE"] = 3701 W. Wendover Ave.
gstreet["JAC"] = 7415 Commonwealth Ave.
gstreet["KAN"] = 4900 Speaker Rd.
gstreet["LOS"] = 5555 Bandin Blvd.
gstreet["MEM"] = 1921 Elvis Presley Blvd.
gstreet["MPL"] = 3165 S. Lexington Ave.
gstreet["NJY"] = 80 County Rd.
gstreet["OKL"] = 5700 S. Portland
gstreet["PIT"] = 300 Brush Creek Rd.
gstreet["PHI"] = 1900 Byberry Rd.
gstreet["PHO"] = 4949 E Van Buren St.
gstreet["SAL"] = 1795 West 2100 S
gstreet["SAN"] = 2501 Rydin Road
gstreet["SEA"] = 34301 9th Ave. S
gstreet["SPR"] = 1800 Page Blvd.
gstreet["STL"] = 5800 Phantom Dr.
gstreet["ALB"] = 9201 Edgeworth Drive
gstreet["ALOS"] = 9939 Norwalk Blvd.
gstreet["ASEA"] = 6215 S. 228th Street
gstreet["ATEX"] = 1501 South Loop 12
gstreet["ADAY"] = 53-71 Lau Parkway
gstreet["ASAN"] = 1099 Whipple Road
gstreet["ADET"] = 29149 Airport Drive #17
gstreet["ASPR"] = 41 Lyman Street
gstreet["ANJY"] = 203 Kuller Road
gstreet["APHI"] = 321 Jones Blvd.
gstreet["AMEM"] = 4755-2 Burbank Road
gstreet["AYOU"] = 100 Eastgate Dr.
gstreet["AATL"] = 1100 Westlake Pkwy. Ste
gstreet["AJAC"] = 7469 Kingspointe Pkwy #300
gstreet["AGRE"] = 1700 Westpointe Dr. Ste. D
gstreet["AKAN"] = 10810 W 78th Street
gstreet["ASTL"] = 131 Byassee Dr.
gstreet["ADEN"] = 11175 East 55th St.
gstreet["ASAL"] = 5185 Harold Gatty Drive
I keep getting this error message: SyntaxError: missing ; before statement at line 3. Does anyone have the fix for this problem?
babycody@adobeforums.com Guest
-
code hint javascript api
I am extending dreamweaver to add code hinting and color coding to my proprietary scripting language. I am fine with the Javascript but I am not... -
How to use javascript code in a plugin ?
Hi, I'd like to use javascript in my plugin but after reading the JS API reference, i still don't understand where the code should be placed, and... -
Add JavaScript Code to head
We use a customized button for submitting forms or links at work. The code combines DHTML elements for the look and functionality of the button. ... -
JavaScript code hints?
:confused; I'm a Dreamweaver newbie and would like to get drop-down code hints for JavaScript. Is there a way to enable this option? Thanks much!... -
JavaScript Form Code
Hello, I have a web form that will be processed by formmail.pl. On the redirect page, we would like to use some JavaScript to present the user... -
W_T_Allen@adobeforums.com #2
Re: JavaScript code question
I answered (or at least attempted, my JS is really rusty) in the other thread.
W_T_Allen@adobeforums.com Guest
-
Ben_Marchbanks@adobeforums.com #3
Re: JavaScript code question
you should be assigning a string value to each array element by enclosing the text in "".
gstreet["ASAL"] = "5185 Harold Gatty Drive"
Ben_Marchbanks@adobeforums.com Guest



Reply With Quote

