![]() |
Javascript Search Box Help
Hi Guys,
i spoke to ben about this before, and i thought i would try and have a go at it myself. but as i do not know the first thing about javascript and not being able to find anything on the internet i thought i would ask here. i currently have a product search box on my shop which is made up of the following HTML. CODE Code:
<h3>Product Search</h3>what i would like to happen is that when someone clicks in the search box it automaticly deletes "Type Search Criteria + Enter" allowing them to enter a product without having to delete anything. also how hard is it to get the background colour of the search box to change? Thanks in advance |
Re: Javascript Search Box Help
Add an onfocus handler, on the search box!
Code: HTML
|
Re: Javascript Search Box Help
Quote:
|
| All times are GMT +5.5. The time now is 01:29. |