首 页 ASP ASP.NET PHP JSP Ajax DIV+CSS JavaScript XML C#
MySQL MSSQL Access Oracle Linux Server 电脑技巧 网络安全 建站经验 其它

通过OnMouseDown和Onclick使按钮只响应鼠标点击事件

整理日期:2007年08月14日 【字体:


伊图教程网[www.etoow.com]
http://www.etoow.com/html/2007-08/1187092624.html
      }
      else
      {
        if(event.srcElement.id == "ImageButton1")
        {
          document.all.Button1.focus();
        }
        else if(event.srcElement.id == "Button1")
        {
          document.all.Text1.focus();
        }
        return false;
      }
    }

    function fn_Text1_onkeydown()
    {
      if(event.keyCode==13)
      {
        document.all.Text2.focus();
        event.keyCode = 0;
        event.returnValue = false;
      }
Tags:
通过OnMouseDown和Onclick使按钮只响应鼠标点击事件
'http://www.etoow.com/html/2007-08/1187092624.html
1
 
2
信息搜索
  
联系我们关于本站广告服务设为首页 收藏本站友情链接网站地图
Copyright © Etoow.com Inc. All Rights Reserved