1     <script type="text/javascript">
 2         $(function(){
 3             $('input[type="text"]').focus(function(){
 4               $(this).val('');
 5             }).blur(function(){
 6               $(this).val(this.defaultValue);    
 7             });
 8             /*$('input[type="text"]').focus(function(){
 9             $(this).val('');
10             });
11             $('#address').blur(function(){
12             $(this).val($addressTxt);    
13             });
14             $('#password').blur(function(){
15             $(this).val($passwordTxt);    
16             });*/
17         });
18     </script>

 

相关文章:

  • 2022-12-23
  • 2022-01-09
  • 2021-12-26
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
猜你喜欢
  • 2021-07-05
  • 2021-12-01
  • 2021-10-15
  • 2021-12-28
  • 2021-07-18
  • 2021-11-26
  • 2022-12-23
相关资源
相似解决方案