Classic ASP / JavaScript / SQL -- Need little quick tweak
$10-30 CAD
Ukończony
Opublikowano prawie 8 lat temu
$10-30 CAD
Płatne przy odbiorze
I have a SQL table ([login to view URL]) with 3 columns:
Phone, Version and Password
The primary key is set on both Phone and Version, so there can be the same phone, the same version,
but only one combination of the same Phone + Version
I am creating an intranet page where I can select a phone, version and enter a password. More details:
(1) Prepopulate the "Phone" Dropdown menu from the SQL database for the phone value, which is what the user would select first
(2) Prepopulate the Dropdown menu for the version based on the phone selection, once again from the SQL database
(3) Display the current Password for that combination in the input box, where the user can change it / update it.
I was able to get everything to work, except the point 2 – prepopulate the Version dropdown menu based on what the user selects at the Phone dropdown menu. I am thinking probably some sort of OnChange of the Phone’s select, but I am not 100% sure how to make that happen.
I was able to find some examples for ASP or PHP / VBScript or C#, but I couldn’t find anything for Classic ASP + JavaScript + SQL
Anyone available tonight for the quick fix? Thanks.
Just add this attribute to your "Phone" dropdown and handle the postback for populating the "Version" dropdown.
onchange="[login to view URL]()"
I can to the modification for you if you want. Just send me the code.
$25 CAD w 1 dzień
5,0 (6 opinii)
4,8
4,8
5 freelancerzy składają oferty o średniej wysokości $41 CAD dla tej pracy
Hello,
Scope of work includes -
- Fixing Classic ASP dropdown onchange fix
Let's take it to the next step and start on this ASAP.
Thanks,
Techmart Team
It is really easy to do this. It actually requires ajax. If you are interested its hardly an hour job after Installing webmatrix to run asp , sorry i currently doing php so mention this . Regards.