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.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1263191
    Nick Garner
    BPL Member

    @nwgarner

    Locale: Silicon Valley

    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

    #1644827
    Ken Thompson
    BPL Member

    @here

    Locale: Right there

    If I triple click in the box then start typing the Search BPL goes away.

    #1644879
    Nick Garner
    BPL Member

    @nwgarner

    Locale: Silicon Valley

    That's a good idea, Ken. I'll start doing that.

    Nick

    #1645242
    Ben Klocek
    BPL Member

    @klocek-admin

    Fixed.

    #1645591
    Nick Garner
    BPL Member

    @nwgarner

    Locale: Silicon Valley

    Thanks, Ben!

    #1645598
    Ken Thompson
    BPL Member

    @here

    Locale: Right there

    Thanks, Ben! +1

    That was easy. Wonder what took so long.

    #1645633
    Travis Leanna
    BPL Member

    @t-l

    Locale: Wisconsin

    Um, it doesn't work for me.

    #1645643
    Lynn Tramper
    Member

    @retropump

    Locale: The Antipodes of La Coruna

    Works for me with just a single click. Could it be related to web browser?

    #1645649
    Travis Leanna
    BPL Member

    @t-l

    Locale: Wisconsin

    I'm using Safari. Anyone else?

    #1646178
    Ben Klocek
    BPL Member

    @klocek-admin

    You might need to do a force refresh to get the updated javascript file. (Shift+Clicking Refresh does it on a Mac.)

    #1646182
    Travis Leanna
    BPL Member

    @t-l

    Locale: Wisconsin

    Ah, it works now. Thanks!

Viewing 11 posts - 1 through 11 (of 11 total)
  • 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!

Get the Newsletter

Get our free Handbook and Receive our weekly newsletter to see what's new at Backpacking Light!

Gear Research & Discovery Tools


Loading...