473,394 Members | 1,739 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,394 software developers and data experts.

Return data based on user selection without database

Hi, I really hope one of you gurus can help me out here.

I need to create a webform that has two drop-down boxes and allows a
user to select a harddrive manufacturer and another for a harddrive
capacity and then spit out a price.

I don't have access to a database or server side scripting and cannot
link to an outside source. (The file will reside on a public folder on
the company network).

I'm pretty sure javascript is my best solution here but I could be
completely wrong here. If anyone could help me out here, I'd greatly
appreciate it.

Jul 26 '05 #1
2 1299
Whoops, sorry for the duplicate post. I thought I lost the first one.

Jul 26 '05 #2
br********@gmail.com wrote:
Hi, I really hope one of you gurus can help me out here.

I need to create a webform that has two drop-down boxes and allows a
user to select a harddrive manufacturer and another for a harddrive
capacity and then spit out a price.

I don't have access to a database or server side scripting and cannot
link to an outside source. (The file will reside on a public folder on
the company network).

I'm pretty sure javascript is my best solution here but I could be
completely wrong here. If anyone could help me out here, I'd greatly
appreciate it.


This is asked so often...

By far the best method is a table with the manufacturer, then all the
drive capacities and prices listed with a checkbox to select one (make
them radios if only one can be selected). Doing this in JavaScript just
creates inconvenience and issues:

- Users can only see the drives from one manufacturer at a time
- Whenever they change manufacturers, the list of drives changes so
comparisons are difficult
- Whenever they change manufacturers, the price disappears too so
comparisons are difficult
- If JavaScript is disabled, the whole thing falls apart
- Users have to select things in the right order
- Users have to drop-down the lists to see the content, they can't just
look at the page
- Users can't just print a page of makers, capacities & prices
- Well structured HTML is just as easy to edit as JavaScript arrays or
objects that would be used for the data.
- etc.

But anyhow, find out first hand, here's a link:

<URL:http://www.mattkruse.com/javascript/dynamicoptionlist/>

--
Rob
Jul 27 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Frnak McKenney | last post by:
Back when computer dinosaurs roamed the earth and the precursors to today's Internet were tiny flocks of TDMs living symbiotically with the silicon giants, tracking access to data processing...
4
by: fig000 | last post by:
Hi, I'm relatively new to Javascript so please bear with me on what might sound like silly questions. This is what I want to do: I'm working in classic asp (I have to for this project). I...
5
by: Jim Cobban | last post by:
I am trying to create a web page in which the contents of one selection list depends upon which element in another selection list is chosen, but where the information to populate the first...
5
by: jen_designs | last post by:
Is there a way to return the character position on a page? Not the x and y coordinates, but the number of characters on a page. For instance i have a html page with the following text: This is my...
0
by: CSDunn | last post by:
Hello, In Access ADP's that connect to SQL Server databases, any time I have a situation where I have a combo box in a main form that looks up a record in a subform, the subform record source has...
2
by: Danny | last post by:
I have a combo box look up and list items in a table, it is not bound. It works fine but how can I prevent the users from entering in there own data? i have an 'on change' event that when it...
5
by: Jon | last post by:
I have a database that mysteriously takes information from fields in one clients record and places it into the fields of another client record. This happens sporadically. I end up finding data all...
3
by: rlm | last post by:
This small problem to solve involves a two table database (one parent and one child table), one winform and two combo boxes. Combo box A is populated in the Load event. Combo box A pulls data...
17
by: Timothy.Rybak | last post by:
Hello all, This is my first attempt at an application, so kid gloves are appreciated. I need to make a very simple form that only has a few elements. One is TraceCode - a text field that is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.