In HTML5 there is a new input type, ‘search’.
On most browser it’s just remain to a simple ‘text’ input, but for webkit based browsers, it adds a little cross to reset the input.
I’d like to be able to handle this, is there an event for that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, it’s not possible. This UI interaction is some goodness that webkit implements, but is not actually specced. See here. So even if it were possible–you can’t expect this UI to be implemented in Gecko, for example, if and when they ever add type=search.