473,322 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

help required to populate search results

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
2 1067

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Craig Keightley | last post by:
I have the following array: function showCPUs(){ //name brandID dualCore dualProcessor var cpuItem=; var cpuItem=; var cpuItem=; var cpuItem=; var cpuItem=; var cpuItem=; var cpuItem=;
2
by: Mette Kulmbach | last post by:
I'm a danish librarian who would like to get my new homesite validated. I have tried to get it validatet in the w3c but I get the same message all the time. This is the massage. " Below are...
26
by: Stav | last post by:
Hi there. I'm working on an application that currently uses DAO to connect to an Access 97 database. The database is created by and used exclusively by the product to store search results and...
0
by: muralidharan | last post by:
WebForm1.aspx Code: <%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %> <ComponentArt:TreeView id="TreeView1" Height="520"...
4
by: Tarun Mistry | last post by:
Hi all, I have posted this in both the c# and asp.net groups as it applies to both (apologies if it breaks some group rules). I am making a web app in asp.net using c#. This is the first fully OO...
3
by: Sheau Wei | last post by:
This is the search engine code that i create, but it was error and didnt come out the result. Cn u help me to check what wrong with my code? Thanks <Table cellspacing=1 cellPadding=1...
23
by: casper christensen | last post by:
Hi I run a directory, where programs are listed based on the number of clicks they have recieved. The program with most clicks are placed on top and so on. Now I would like people to be apple to...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
0
by: LiamLiamLiam | last post by:
G'day all. I having a problem with my formview. I'll ty to explain my situation as best as i can. I have a page with a search field at the top which is just a simple asp:textbox. Below that i...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.