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

How to get a search box on website to work

Hi, fairly new to HTML and web building. Have a question that I can't seem to find in the archives here. Or I'm asking the wrong question.

I have a website I am trying to amend (it is a template which was provided to me) to suit my needs. It works perfectly but I cannot get the search capability to work.

The idea is you would place a word or string of words into a box, select enter or the 'magnifying glass' image and it will list all of the pages of the website with the word(s) on it.

Here is the html code already present:
Expand|Select|Wrap|Line Numbers
  1.       </ul>
  2.       <form action="#" method="post" id="sitesearch">
  3.         <fieldset>
  4.           <strong>Search:</strong>
  5.           <input type="text" value="Search Our Website&hellip;" onfocus="this.value=(this.value=='Search Our Website&hellip;')? '' : this.value ;" />
  6.           <input type="image" src="http://bytes.com/images/search.gif" id="search" alt="Search" />
  7.         </fieldset>
When I use the box now nothing happens so to me it feels like something is missing which will not direct it to go search. Can anyone provide what is missing or tips?

I don't want to spend a whole lot more time to this if it will not work. I can just delete the code and not use it. But I thought it might be a handy tool to have if I could.
Thanks
J
Oct 31 '12 #1
1 14905
go through this below link it will guide you...
http://www.wrensoft.com/zoom/support/searchbox.html
Nov 1 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: WindAndWaves | last post by:
Hi Gurus I am keen to make a search page on a website, but I have absolutely zero experience with PHP. I am going to hire an expert, but I thought that it may pay to try it a bit first myself...
1
by: javawzl | last post by:
I am looking for a 3rd party advanced (SQL) search control that I can basically plug and play into my ASP.Net and supplement with additional fields (like a country drop down). That is, I don't...
1
by: Rachelle | last post by:
I'm having some trouble with the search field that i am setting up using PHP and HTML, I am connecting to a database to return proper information pertaining to something being searched. I...
6
by: shantanu | last post by:
Hi All, I have a requirement to develop a search engine based on some search criteria that will search for the string or statement in all the documents uploaded in the website. The search result...
7
by: LaiLakY | last post by:
Hi Everybody, I have a project and I upload it to the server but it dosn't work. On my local host it is work fine. I try to write simple page just hello world and upload to the server it same...
2
by: jojoba | last post by:
Hi! I've got a silverlight app that runs great from VS 2008 pro, but when i deploy it, using vista sp1 iis7, i get the javascript alert: <<"Sys.Preveiw.UI" is null or not an object>> I feel...
3
wiredwizard
by: wiredwizard | last post by:
So does my site need optimization or marketing? (my response to a recent email from a gentleman asking whether he should optimize or market his website and I was wondering what others think) ...
12
by: iahamed | last post by:
Hi Everyone, I got two parts of my advance search to work, I am running out of Logic to connect the third. My mind is in swing! Pleaseeeeeeeee Help me. I have 3 Fiels to search, the First two...
4
by: Mandar | last post by:
Hi, I have written some code in C# to programmatically create a website and an application pool. Both seems to be getting created alright with whatever settings I have applied. However, when I...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.