I have an HTA with a textbox. I am using Windows 10. The HTA (IE) automatically puts an "x" to the right of the textbox when it is active. What is the event to capture clicking on that x to clear the textbox? I tried onchange, onclick but onclick unfortunately has the undesired effect of any click on the textbox. I also tried onclear but that does nothing. onreset also does nothing.
Asked
Active
Viewed 86 times
1
-
Depends on what kind of control that "x" is. – Flakes Dec 19 '17 at 06:28
-
It's unclear. What did you mean by "x" describe more your issue by adding your code while editing it ! – Hackoo Dec 19 '17 at 08:10
-
1https://stackoverflow.com/q/14700466/1169519 – Teemu Dec 19 '17 at 10:35
-
Possible duplicate of [Attach event to clear icon in IE10 textbox](https://stackoverflow.com/questions/14700466/attach-event-to-clear-icon-in-ie10-textbox) – BoffinBrain Dec 21 '17 at 16:48