Solved

Database/Search on HomePage

Posted on 1998-08-20
1
130 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

691 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