Using jQuery, how can I clear the input text after I made a click? By default, the value remains in the input field.
For example, I have an input text and the value is <
try this
$("input[name=search-mini]").on("search", function() { //do something for search });