Solved

Database/Search on HomePage

Posted on 1998-08-20
1
124 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now