Remove Icon For Input With Css And Jquery April 16, 2024 Post a Comment I am trying to get this to work but it doesn't. I have removed my code for cleanup and here is the jsfiddle code I am trying to create the remove button that removes the input andSolution 1: Not sure it is what you are looking for...Use HTML5 input type search:<inputclass="search clearable"type="search"id="input"/> CopyThen add handler click for input:$('#input').on('click',function(){ if(this.value === "" ) //case when user reset the input by clicking button $(this).keyup(); }); CopyDEMO Share Post a Comment for "Remove Icon For Input With Css And Jquery"
Post a Comment for "Remove Icon For Input With Css And Jquery"