var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Populating a combo based on another combo
I want to populate a combo that based on another combo.
For example, If i select country from the first combo, the second combo automatically fills with its cities.
Please if anybody can write the code ...
You could have a db with 2 tables - one is countries, the other is cities.
In the cities table - have a column 'country' that references the countries table.
On your web page, pull countries from the db, and cities for that country to populate your 2 drop down menu's
It should be really easy to do it - assuming you have some asp / sql / js knowledge.
Perhaps this may hopefully give you some ideas. It's got a downloadable sample and does retain values after the post back:
Classic ASP Design Tips - Dependent Listboxes