Topic
Clear Search Box on click
Forum Posting
A Membership is required to post in the forums. Login or become a member to post in the member forums!
Home › Forums › Administration & Support › Website & Forum Support › Clear Search Box on click
- This topic is empty.
-
AuthorPosts
-
Sep 11, 2010 at 4:04 pm #1263191
This is a pretty minimal request but, would it be possible to clear the search box when the user clicks inside it to type? I search all the time when considering new gear and I always have to clear that field before I start typing.
Something like this
onclick="document.myform.mytext.value='';"
on the text input field should do it.Nick
Sep 11, 2010 at 4:47 pm #1644827If I triple click in the box then start typing the Search BPL goes away.
Sep 11, 2010 at 11:26 pm #1644879That's a good idea, Ken. I'll start doing that.
Nick
Sep 13, 2010 at 12:50 pm #1645242Fixed.
Sep 14, 2010 at 4:53 pm #1645591Thanks, Ben!
Sep 14, 2010 at 5:15 pm #1645598Thanks, Ben! +1
That was easy. Wonder what took so long.
Sep 14, 2010 at 7:21 pm #1645633Um, it doesn't work for me.
Sep 14, 2010 at 7:48 pm #1645643Works for me with just a single click. Could it be related to web browser?
Sep 14, 2010 at 8:04 pm #1645649I'm using Safari. Anyone else?
Sep 16, 2010 at 12:45 pm #1646178You might need to do a force refresh to get the updated javascript file. (Shift+Clicking Refresh does it on a Mac.)
Sep 16, 2010 at 12:54 pm #1646182Ah, it works now. Thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.
Forum Posting
A Membership is required to post in the forums. Login or become a member to post in the member forums!
Our Community Posts are Moderated
Backpacking Light community posts are moderated and here to foster helpful and positive discussions about lightweight backpacking. Please be mindful of our values and boundaries and review our Community Guidelines prior to posting.
Get the Newsletter
Gear Research & Discovery Tools
- Browse our curated Gear Shop
- See the latest Gear Deals and Sales
- Our Recommendations
- Search for Gear on Sale with the Gear Finder
- Used Gear Swap
- Member Gear Reviews and BPL Gear Review Articles
- Browse by Gear Type or Brand.