View Code
 1 <script type="text/javascript">
 2         function cleartext() {
 3             for (i = 0; i < window.document.forms[0].elements.length; i++) {
 4                 if (window.document.forms[0].elements[i].type == "text") {
 5                     window.document.forms[0].elements[i].value = "";
 6                 }
 7             }
 8             document.getElementById("<%= contactdescription.ClientID %>").value = "";
 9         }
10     </script>

 

相关文章:

  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2021-11-26
  • 2022-12-23
  • 2021-04-11
  • 2022-02-09
猜你喜欢
  • 2022-01-02
  • 2021-05-22
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2021-12-19
  • 2021-10-27
相关资源
相似解决方案