Announcement

Collapse
No announcement yet.

Clear or Reset Search field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Clear or Reset Search field

    How do I get the search field to reset to the placeholder content after the search results have been displayed? You can see an example here.

    The old site would clear the field and the store owner needs this same "feature" in the new version.


    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Hi Leslie,

    Chances are you have the value of the search input set to &mvte:global:search;. If you remove that, you should see the results you are after.
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      Originally posted by Matt Zimmermann View Post
      Hi Leslie,

      Chances are you have the value of the search input set to &mvte:global:search;. If you remove that, you should see the results you are after.
      Thanks - I was just about to post that I fixed it. I used what was in the old site code, it used an on blur
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment

      Working...
      X