javascript - How to trigger event when user click on 'x' icon IE input field? -


i hava character counter input fields working expected problem see when use ie browser , user clear field 'x' icon not setting tooltip value maxlength. there work around how trigger event when clear field ie 'x'.

main.html

<div class="col-md-3">     <input type="text" class="form-control"         ng-model="input.searchvalue" placeholder="enter search item"         maxlength="256" name={{$index}}         data-tooltip-html-unsafe="         <div>{{256 - input.searchvalue.length}} characters left</div>"         tooltip-trigger="{{{true: 'focus', false: 'never'}[ input.searchvalue.length >= 0 || input.searchvalue.length == null ]}}"         tooltip-placement="top" tooltip-class = "bluefill"/> </div> 


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -