Home > Web Front-end > JS Tutorial > JS pay attention to clearing the parameters in the input text box

JS pay attention to clearing the parameters in the input text box

不言
Release: 2018-04-10 13:42:46
Original
4517 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template