Home >Web Front-end >JS Tutorial >JS pay attention to clearing the parameters in the input text box
The content of this article is about clearing the parameters in the input text box. Friends in need can refer to
$("#nameSS"). textbox('setValue',' '); //The flaw of this method is that spaces will be added by default the next time it is dynamically assigned, which will result in the originally searchable data not being found.
##$("#nameSS").textbox('setValue') ;//You can clear it this way
The above is the detailed content of JS pay attention to clearing the parameters in the input text box. For more information, please follow other related articles on the PHP Chinese website!