d0353101 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am having 2 dropdowns on my page. The values in both the drop downs have to be populated through DataBase.
Problem : I dont know how to populate the second Dropdown automatically if items in first dropdown changes.
First DropDown : City names are getting populated as per user's country.
Second Dropdown : Market names to be populated here when a city name is selected in first drop down.
Please show me some way to populate the Market names as per selected city name in first drop down.
I am using PERL. ( And I am not Using AJAX).
I understand that I will have to use Java script. And I think I will have to use OnChange event. But after giving it a try, I could not do it.
Many thanks for your help.
Regds
Vivek Jain
Problem : I dont know how to populate the second Dropdown automatically if items in first dropdown changes.
First DropDown : City names are getting populated as per user's country.
Second Dropdown : Market names to be populated here when a city name is selected in first drop down.
Please show me some way to populate the Market names as per selected city name in first drop down.
I am using PERL. ( And I am not Using AJAX).
I understand that I will have to use Java script. And I think I will have to use OnChange event. But after giving it a try, I could not do it.
Many thanks for your help.
Regds
Vivek Jain
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Dynamic Drop down in CGI
by dorward (Curate) on Jun 09, 2009 at 14:21 UTC | |
Re: Dynamic Drop down in CGI
by Anonymous Monk on Jun 09, 2009 at 13:19 UTC | |
|
Back to
Seekers of Perl Wisdom