点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 尚未分类>> Asp.net学生信息管理系统源码>> 源文件浏览
[免费版 Free] WebForm,下载次数:28027 次 | 关键字: 学生信息 存储过程 课程设计

源码截图

源码目录树

当前路径:aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer3/JS/KeyDownEvent.js     /*
	File Version Start - Do not remove this if you are modifying the file
	Build: 9.5.0
	File Version End
*/
/*
    this function is used to verify whether the 'Enter' key is pressed.
    if the 'Enter' key is pressed, then either call the event handler function passed in as a parameter (evntHdlrName)
    or if evntHdlrName is an empty string, submit the form that contains the input box (that triggers this function).  
    The form name is passed in as the third parameter, if it's an empty string, it's set to 0 by default.
    The first parameter is an event object 
    
    written by Paul Chong, 17th May 01
*/

function keydownfn(e, evntHdlrName, formName)
{	
    var nav4;
    var keyPressed;

    //check if the brower is Netscape Navigator 4 or not
    var nav4 = window.Event ? true : false;
	
	//if browser is Navigator 4, the key pressed is called <event object>.which else it's called <event object>.keyCode
	keyPressed = nav4 ? e.which : e.keyCode;
		
    if (keyPressed == 13)
    {	
        if (evntHdlrName != "")
		{	
			// append empty parentheses if none given
			if(evntHdlrName.substr(evntHdlrName.length-1) != ")")
				evntHdlrName += "()";
			eval(evntHdlrName);
        }
        else
        {
			if (formName == "")
				formName = 0;
            document.forms[formName].submit();
        }
    }
    return true;
}
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途) 企业QQ:4000410510
地址:北京市海淀区中关村鼎好大厦A座二层 邮编:100080
Room A-801,Dinghao Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2015. 京ICP备09089570号 | 京公网安备11010702000869号
在线客服
分享该页面
关闭侧边栏