javascript - Detect texbox clear-event in IE. How do I clear the input type="text" (textbox) in IE (Internet Explorer) when IE-specific clear-box is clicked? -


in internet explorer, there little x-like button shown, when start typing in textbox. how detect event when icon clicked on? there 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 image description here

i not know special event small x-like button, , don't think exists, can use input event (oninput="qsearchlookup(this.value)" in case) catch change.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -