Solved

Display info based on drop-down menu selection

Posted on 2013-06-14
1
432 Views
Last Modified: 2013-06-17
Here is a snip-it from the sub procedure that displays the drop-down list of colors available:

    if objRS.eof then EXIT SUB
   
    response.Write "<select name=""Color_id"">"
   
    while not objRS.eof
   
    response.Write "<option value="""&clng(objRS.fields("Color_id"))&""">"&trim(objRS.fields("Color_value"))&"</option>"
   
    objRS.movenext
    wend
   
    response.Write "</select>"
   



I need to display the available inventory from the database for whatever color is selected in this drop-down menu.  What would be the best way to do this?  Javascript?
0
Comment
Question by:AdrienneSperber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 39247763
if you don't want to refresh the page once a selection is made, you'll need to use ajax:

http://api.jquery.com/jQuery.ajax/
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question