84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我试了.val("")和.attr("value","")的方法,但没有成功,对象获取上没问题的,因为用.attr成功改变了边框颜色,求助??
jquery clear input type to password? -PHP Chinese website Q&A-jquery clears input type to password? -PHP Chinese website Q&A
Let’s take a look and learn.
可以试下
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src="jquery-2.1.1.min.js"></script> </head> <body > <input type="password" id="txtPwd" value="fsdafs"> <script type="text/javascript"> $(document).ready(function(){ $("#txtPwd").attr("value",""); }); </script> </body> </html>
jquery clear input type to password? -PHP Chinese website Q&A-jquery clears input type to password? -PHP Chinese website Q&A
Let’s take a look and learn.
可以试下