| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
onfocus making searc button not work | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
ok so I wanted to make the search button value change when the customer clicked in the search box.
had this value="Product Search" onfocus="this.value=''" onblur="this.value='Product Search'" worked fine, made the text disappear and re-appear as expected but then the search button stopped working.
__________________
xcart 5.1.2 |
|||||||||
|
#2
|
|||||||||
|
|||||||||
|
What happens if you remove the onblur bit?
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
|
#3
|
|||||||||
|
|||||||||
|
thanks paul!!1 that worked
__________________
xcart 5.1.2 |
|||||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||