populating a drop down box using vbscript

Results 1 to 2 of 2

Thread: populating a drop down box using vbscript

  1. #1
    Join Date
    Dec 1969
    Posts
    632

    Default populating a drop down box using vbscript

    I have an asp page which has 4 select drop down boxes. When page loads, only 1st drop down box appears. What I want to do is based on selection made on this 1st drop down box, I want a 2nd drop down box to appear with values that correspond to selection made in 1st box. For example, let&#039s say there is a drop down box that lists counties. If I select Mercer County, I want a drop down box to appear underneath the 1st box that lists the cities in Mercer County. I can&#039t get this to work but I am probably not doing this correctly. I don&#039t know how to tell the 1st drop down submit button to go to a set of vbscript, evaluate what selection was made and then pull up an appropriate selection box. Any ideas how to do this?? Can this be done. Thanks in advance.

  2. #2
    Join Date
    Dec 1969
    Posts
    95,978

    Default RE: populating a drop down box using vbscript

    http://www.clearviewdesign.com/NEWBIE<BR><BR>and look for "Multiple Drop-Down Lists" demo.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


More ASP Resources

Resources:
-- ASP Articles
-- ASP.NET Information
-- 4Guys ASP F.A.Q.
-- ASPFAQs.com
-- ASP Coding Tips
-- Related Web Technologies
-- User Tips!!
-- JavaScripts


Development Centers
-- HTML5 Development Center
-- Windows Mobile Development Center
-- Android Development Center
-- Cloud Development Project Center


Development Technology
Check out these sites for more articles, tutorials, FAQs, discussions, and code!
-- CodeGuru.com
-- VBForums.com
-- DevX.com
-- Developer.com
-- HTMLGoodies