VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Problems and bugs
 ''search this site'' text not disappearing on click
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

innocenti
Starting Member

USA
16 Posts

Posted - August 01 2006 :  17:53:48  Show Profile  Visit innocenti's Homepage  Reply with Quote
for some reason the script is not functioning correctly,
and the text remains in the search box after clicking

here is the code from shoppage_header:

<script language="JavaScript" type="text/JavaScript">
<!-- Begin
function clearfield(){
if (document.form3.keyword.value == "search this site")
document.form3.keyword.value = "";
}
// End -->
</script>

<input class="searchfield" type="text" name="keyword" size="19" style="width:60" value="<%=getlang("langsearchboxdefault")%>" onClick="clearfield()">

thanks!

Edited by - innocenti on August 26 2006 16:58:35

k-otic
Starting Member

49 Posts

Posted - August 02 2006 :  00:24:09  Show Profile  Reply with Quote
hey, have u tried a different browser? that script works fine for me by default in ie 7 and firefox.

what are u using?
Go to Top of Page

innocenti
Starting Member

USA
16 Posts

Posted - August 02 2006 :  15:48:34  Show Profile  Visit innocenti's Homepage  Reply with Quote
yep. doesn't work in any mac browser - safari, ie, or firefox...
Go to Top of Page

support
Administrator

4266 Posts

Posted - October 08 2006 :  22:38:29  Show Profile  Visit support's Homepage  Reply with Quote
Hi,

We have modified this javascript routine in the latest release of VPASP 6.09

Have you upgraded your software?

Try seeing if the following solves your issue:

<script language="JavaScript" type="text/JavaScript">
<!-- Begin
function clearfield(){
if (document.form3.keyword.value == "<%=getlang("langsearchboxdefault")%>")
document.form3.keyword.value = "";
}
// End -->
</script>


Thank you.

Michael
VPASP SUPPORT
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000