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:
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
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:
Code:
</ul> <form action="#" method="post" id="sitesearch"> <fieldset> <strong>Search:</strong> <input type="text" value="Search Our Website…" onfocus="this.value=(this.value=='Search Our Website…')? '' : this.value ;" /> <input type="image" src="http://bytes.com/images/search.gif" id="search" alt="Search" /> </fieldset>
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
Comment