摘要:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML>  <HEAD>   <TITLE> New Document </TITLE>   <META NAME="Email" CONTENT="798033502@qq.com">   <META NAME="Author" CONTENT="MXi4oyu">   <META NAME="Keywords" CONTENT="">   <META NAME="Description" CONTENT="">   <script type="text/javascript">    function mydome()    {     var inputs = document.getElementsByTagName("input");  for (var i=0;i<inputs.length;i++ )  {   var e = window.event.srcElement;       e.value="高富帅";    }    }   </script>  </HEAD>

小宝典致力于为广大程序猿(媛)提供高品质的代码服务,请大家多多光顾小站,小宝典在此谢过。

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
 <HEAD>
  <TITLE> New Document </TITLE>
  <META NAME="Email" CONTENT="798033502@qq.com">
  <META NAME="Author" CONTENT="MXi4oyu">
  <META NAME="Keywords" CONTENT="">
  <META NAME="Description" CONTENT="">
  <script type="text/javascript">
   function mydome()
   {
    var inputs = document.getElementsByTagName("input");
 for (var i=0;i<inputs.length;i++ )
 {
  var e = window.event.srcElement;
 
    e.value="高富帅";
 
 }
   }
  </script>
 </HEAD>

 <BODY>
  <input type="button" value="矮穷挫" onclick="mydome()" />
  <input type="button" value="矮穷挫" onclick="mydome()" />
  <input type="button" value="矮穷挫" onclick="mydome()" />
  <input type="button" value="矮穷挫" onclick="mydome()" />
  <input type="button" value="矮穷挫" onclick="mydome()" />
  <input type="button" value="矮穷挫" onclick="mydome()" />
 </BODY>
</HTML>

 

觉得可用,就经常来吧! 脚本宝典 欢迎评论哦! js脚本,巧夺天工,精雕玉琢。小宝典献丑了!

本文固定链接: http://www.js-code.com/js/js_8824.html