206、打开链接显示信息

206、打开链接显示信息

脚本说明:

把如下代码加入<body>区域中:

    <script language=JavaScript>

 

function jdk1x() {

      var num1 = document.x.jdk.value;

      if(num1 == 'three') {

        document.x.jdk.value = document.x.jdk.value

              }

      else {

        document.x.jdk.value = "可别急着走呀!"

              }

location="http://www.7stk.com"

    }

    </script>

 

  <form name=x>

  <input type=button value="7stk" onClick="jdk1x()"><br>

    <input  type=text name=jdk width="300" onChange="document.x.jdk.value=''; return true">

</form>

 

Write a comment

Comments: 0