Open thomasjoyce opened 10 years ago
well I haven't been looking into the code for a long time, and as far as I see, you need to pass the clear
function the div object .. clearly this plugin isn't written very well..when I will time, I'll fix it..for now you are free to modify the clear
as you wish :)
I try this: $('section :input').val('').fancyInput().clear();
It clear up the input val but did not clear up the div that has a bunch of span tag characters. On the browser, you see the input placeholder "hello" is on top of the word text "milk".
I want to remove the word "milk" so that it is back to the initial input state. Any help here? Thanks for your help :- )
For example, the is the result i'm getting: