Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Drop down lists (again)


Message #1 by "charles denequolo" <charles.denequolo@p...> on Tue, 10 Dec 2002 15:17:40
Can someone help me with coding 2 linked dropdown boxes
with hard coded data that I can submit into an sql database.
I think I have tried every example out there and can't get any to work.
Message #2 by Mark Eckeard <meckeard2000@y...> on Tue, 10 Dec 2002 07:42:42 -0800 (PST)
Charles,

Can you be more specific?  Send us some samples of
what you have done/want to do.

Mark
--- charles denequolo
<charles.denequolo@p...> wrote:
> 
> Can someone help me with coding 2 linked dropdown
> boxes
> with hard coded data that I can submit into an sql
> database.
> I think I have tried every example out there and
> can't get any to work.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Message #3 by "charles denequolo" <charles.denequolo@p...> on Tue, 10 Dec 2002 16:32:57
> Charles,
I have An SQL database that I need to store contact information in.
I have to collect 2 call dispositions, 1 primary and 1 secondary.
I need a form with 2 dropdown boxes with the second on dependent on the 
the choice in the first box. here are not many dispositions so they can be 
hard coded in the form as opposed to database driven.
I have a form right now with one dropdown box and 2 radio buttons
but that will not work for this project.

Thanks 
Chuck


Can you be more specific?  Send us some samples of
what you have done/want to do.

Mark
--- charles denequolo
<charles.denequolo@p...> wrote:
> 
> Can someone help me with coding 2 linked dropdown
> boxes
> with hard coded data that I can submit into an sql
> database.
> I think I have tried every example out there and
> can't get any to work.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Message #4 by "Joe" <joe@k...> on Tue, 10 Dec 2002 16:57:04
Hi Charles

Have a look at this article. If you want the accompnying code, you'll have 
to register on the site (free), but it covers everthing you want to do 
using XMLHTTP.

If you want to extend things a little, and create the select boxes 
dynamically from your SQL Server, you may want to look into XML Data 
Islands and ADO Stream object.

http://www.codeproject.com/jscript/refreshpartweb.asp

HTH

Joe
Message #5 by Greg Griffiths <greg2@s...> on Tue, 10 Dec 2002 19:54:36 +0000
Are you trying to populate a second drop down list based on the selected 
element in the first drop down ? if so check out 
http://ist-socrates.berkeley.edu:7309/javascript/select.html as a starting 
point as it covers most of what you need.

At 15:17 10/12/02 +0000, you wrote:

>Can someone help me with coding 2 linked dropdown boxes
>with hard coded data that I can submit into an sql database.
>I think I have tried every example out there and can't get any to work.



Message #6 by "charles denequolo" <charles.denequolo@p...> on Fri, 13 Dec 2002 14:17:14
Thanks using this code I have a working app, this helped alot 


> Hi Charles

> Have a look at this article. If you want the accompnying code, you'll 
have 
t> o register on the site (free), but it covers everthing you want to do 
u> sing XMLHTTP.

> If you want to extend things a little, and create the select boxes 
d> ynamically from your SQL Server, you may want to look into XML Data 
I> slands and ADO Stream object.

> http://www.codeproject.com/jscript/refreshpartweb.asp

> HTH

> Joe

  Return to Index