By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,703 Members | 1,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,703 IT Pros & Developers. It's quick & easy.

help required to populate search results

P: n/a
I have 3 drop down menus:

brandID (values 1 - n)
dualProcessor (Y, N)
dual Core (Y,N)

And the following table of values:

Name Brand dualProcessor DualCore
item1 1 Y Y
item2 1 Y N
item3 2 N N
item4 2 N Y

I want to be able to create a list of results on my web page hat checks
against a table of processors.
As a selection is made from each option, the result list will reduce. How
can i acheive this using JavaScipt?

Any Help would be grateful
Craig
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

Yes, the simple way is using an array for your option SETS and loading
them from the .value property of the selecteIndex, I did something akin to
that a bit ago, pasted at http://nopaste.php-q.net/142970 .

Danny

On Thu, 23 Jun 2005 08:16:03 -0700, Craig Keightley <do**@spam.me> wrote:
I have 3 drop down menus:

brandID (values 1 - n)
dualProcessor (Y, N)
dual Core (Y,N)

And the following table of values:

Name Brand dualProcessor DualCore
item1 1 Y Y
item2 1 Y N
item3 2 N N
item4 2 N Y

I want to be able to create a list of results on my web page hat checks
against a table of processors.
As a selection is made from each option, the result list will reduce. How
can i acheive this using JavaScipt?

Any Help would be grateful
Craig


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Jul 23 '05 #2

P: n/a
I've had a look and it seems the route i need to go but i'm a little lost
i need to show items based on a similar result to a sql query (where
brandID =1 AND dualProcessor= Y AND dualCOre = N)

My progress can be seen here if any one wants to give input:
http://rackage.sitedesign.net/dedicatedservers.php

select custom build from the first drop down list, the idea is that there
will be a list of options of cpu available after the third cpu item is
selected

Craig
"Danny" <da*******@bluebottle.com> wrote in message
news:1119561031.34f011929877bf8bb789bc3a31384194@t eranews...

Yes, the simple way is using an array for your option SETS and loading
them from the .value property of the selecteIndex, I did something akin to
that a bit ago, pasted at http://nopaste.php-q.net/142970 .

Danny

On Thu, 23 Jun 2005 08:16:03 -0700, Craig Keightley <do**@spam.me> wrote:
I have 3 drop down menus:

brandID (values 1 - n)
dualProcessor (Y, N)
dual Core (Y,N)

And the following table of values:

Name Brand dualProcessor DualCore
item1 1 Y Y
item2 1 Y N
item3 2 N N
item4 2 N Y

I want to be able to create a list of results on my web page hat checks
against a table of processors.
As a selection is made from each option, the result list will reduce. How
can i acheive this using JavaScipt?

Any Help would be grateful
Craig


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.