Find Jobs
Hire Freelancers

ASP Dynamic Select build to function call

$10-30 USD

Completed
Posted over 10 years ago

$10-30 USD

Paid on delivery
I am using Classic ASP with HTML interaction I have sample code that uses a select to give a given value to a secondary select value populated. I want to go to a function and load external data into the secondary select value. In the example you will see samples of functions that can be called. The core object it to load the secondary select statement from a pre-defined function Sample Code ASP Code @LANGUAGE="VBSCRIPT"%> function changeCountry(s1,s2) { var s1 = [login to view URL]("bCountry"); var s2 = [login to view URL]("ReqBank"); [login to view URL]("Country").value= [login to view URL]("bCountry").value [login to view URL] = ""; optionarray = ["|"] if([login to view URL] == "DOM" ){ var optionarray = ["|","DOM|Dominican Republic Response"]; } else if([login to view URL] == "HTI" ){ var optionarray = ["|","HIT|Haiti Response"]; } else if([login to view URL] == "" ){ var optionarray = ["|"]; } for (var option in optionarray) { var pair = optionarray[option].split("|"); var newOption = [login to view URL]("option"); [login to view URL] = pair[0]; [login to view URL] = pair[1]; [login to view URL](newOption); } } Dominican Republic Haiti ""
Project ID: 4897287

About the project

2 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Done Sir :)
$29 USD in 1 day
5.0 (5 reviews)
3.8
3.8
2 freelancers are bidding on average $30 USD for this job
User Avatar
Lets start work please check PM
$31 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Sanger, United States
5.0
11
Payment method verified
Member since Sep 3, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.