Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
120
rated 0 times [  123] [ 3]  / answers: 1 / hits: 18639  / 11 Years ago, sat, april 6, 2013, 12:00:00

In Internet Explorer, there is a little x-like button is shown, when you start typing in the textbox. How do I detect the event when this icon is clicked on? Is there an event-type?



<input type=text value = id =qsearch name=qsearch
onBlur=qsearchLookup(this.value); OnClick=qsearchLookup(this.value);
onkeyup=qsearchLookup(this.value) size=26>

function qsearchLookup(searchVal){
document.getElementById(qsearch).value=;
}


enter


More From » textbox

 Answers
37

I do not know about special event for this small x-like button, and I don't think that it exists, but you can use input event (oninput=qsearchLookup(this.value) in your case) to catch this change.


[#79090] Thursday, April 4, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dustin

Total Points: 599
Total Questions: 105
Total Answers: 106

Location: Belarus
Member since Tue, Mar 14, 2023
1 Year ago
dustin questions
;