Using jQuery, how can I clear the input text after I made a click? By default, the value remains in the input field.
For example, I have an input text and the value is <
$('.mybtn').on('click', function(){ $('#myinput').attr('value', ''); } );
CLEAR