当前位置: 代码迷 >> JavaScript >> 为什么没反应解决方案
  详细解决方案

为什么没反应解决方案

热度:85   发布时间:2012-02-15 12:09:44.0
为什么没反应
<html>
<head>
<script   language= "JavaScript ">
<!--     hide   script   from   old   browsers
    function   getname(str)   {
        alert( "哈罗!   "+   str+ "! ");
    }
//   end   hiding   contents   -->
</script>
</head>
<body>
Please   enter   your   name:
<form>
    <input   type= "text "   name= "name "   onBlur= "getname(this.value) "   value= " ">
</form>
</body>
</html>
为什么没有反应

------解决方案--------------------
有反应啊 是失去焦点的时候 不信你试试
------解决方案--------------------
jf
  相关解决方案