Jump to content
  • 0

Clear search button - Return key triggering it, not just mouse click



Have a "Clear Search" button under some search fields on a DP.  If you enter text in a field, and hit enter to search, it activates the Clear Search button instead of the Search button.  Presumably just advances to next available field/button/option

Is there a way to make the Clear Search button only activated by a mouse click?

<button class="reset" onclick="window.location.reload()">Clear Search</button>


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...