Reply
Select from a selection and get a selection again...
Old 10-27-2007, 07:08 PM Select from a selection and get a selection again...
Novice Talker

Posts: 13
Name: Daniela
Location: caribbean
Not sure if this is the correct place for my question, if it is not, could somebody please move it?

My question/problem:

Need to create a script:
1. you choose between three different categories:
- all
- st. georges
- st. andrews

2. you will get locations/contact information in those particular areas
- all: place a, place b, place c
- st. georges: place a and c
- st. andrews: place b

What script language do I need to achieve that?
HTML with a form does not work....

Thanks for any suggestions!
Pothound
pothound is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 10-28-2007, 12:51 AM Re: Select from a selection and get a selection again...
NullPointer's Avatar
Will Code for Food

Posts: 499
Name: Matt
Location: Irvine, CA
I believe you can pull that off with just javascript and html. I'm sure you can also do it in Ajax.
__________________
http://tinsology.com/ - Under construction
NullPointer is online now
Reply With Quote
View Public Profile
 
Old 10-28-2007, 02:16 AM Re: Select from a selection and get a selection again...
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
I moved this to the javascript forum, since any solution you come up with is almost certain to use this style of code. You could use "auto-postbacks" in .net, but even those use client scripting, and would be pretty inefficient.

You need to give each drop down an ID, then hook into the onblur event for the first, and use the DOM / document.getElementById to grab the second drop down and manipulate its item list.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 10-28-2007, 10:46 AM Re: Select from a selection and get a selection again...
Novice Talker

Posts: 13
Name: Daniela
Location: caribbean
Hi ForrestCroce
That is what I feared :-) Have not much of a clue about JavaScript. Will do some searches and might have to come back and ask for help again.
Thanks!
Pothound
pothound is offline
Reply With Quote
View Public Profile
 
Old 10-28-2007, 01:25 PM Re: Outsource Script
Novice Talker

Posts: 13
Name: Daniela
Location: caribbean
Found a script that is doing exactly what I wanted!
Thanks for your help/hint!

Last edited by pothound : 10-28-2007 at 01:34 PM.
pothound is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Select from a selection and get a selection again...
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13588 seconds with 12 queries