Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



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

Posts: 13
Name: Daniela
Location: caribbean
Trades: 0
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
 
 
Register now for full access!
Old 10-28-2007, 01:51 AM Re: Select from a selection and get a selection again...
NullPointer's Avatar
Will Code for Food

Posts: 2,787
Name: Matt
Location: Irvine, CA
Trades: 0
I believe you can pull that off with just javascript and html. I'm sure you can also do it in Ajax.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 10-28-2007, 03:16 AM Re: Select from a selection and get a selection again...
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 10-28-2007, 11:46 AM Re: Select from a selection and get a selection again...
Novice Talker

Posts: 13
Name: Daniela
Location: caribbean
Trades: 0
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, 02:25 PM Re: Outsource Script
Novice Talker

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

Last edited by pothound; 10-28-2007 at 02: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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.47351 seconds with 12 queries