Solved

Database/Search on HomePage

Posted on 1998-08-20
1
127 Views
Last Modified: 2013-12-25
Hello...
I need to do a search function for a Home Page. But actually I don't have any idea how I would to that. What I need is something like a ComboBox where the user can select a product and then click a "GO-Button". This should bring him/her to another site, which contains more detailed information about the product selected. Could some post some sources, docs please ?
thx
0
Comment
Question by:omsec
1 Comment
 
LVL 10

Accepted Solution

by:
MasseyM earned 20 total points
ID: 1828222
Do you want to create individual pages for each product item?
ie I choose Product 1 ad then go to product 1 page?

if so, use this (No go button needed...):
<SELECT NAME="Products" onChange="GoHere(this)">
<OPTION VALUE="product1.html">Product1</OPTION>
<OPTION VALUE="product2.html">Product2</OPTION>
</SELECT>

<SCRIPT LANGUAGE="Javascript"><--
function GoHere(s)
{ var d = s.options[s.selectedIndex].value;
window.top.location.href = d;
s.selectedIndex=0;
}
//--></SCRIPT>
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to count occurrences of each item in an array.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question