摘要:onkeypress与onkeydown具体区别:1. 一个放开一个没有放开,onkeydown 先于 onkeypress 发生。2.onkeypress 无法系统按钮。2.onkeydown 捕获的 keyCode 不区分字母大小,而 onkeypress 区分。onkeypress是在用户按下...
阅读全文
摘要:提交审批 撤消 关闭 后台获取: string audittype = Request.Form["audittype"];if (audittype == "cancel") { string refreshTab = Request.Form["refreshTab"]; WorkflowC...
阅读全文
摘要:声明两个对象: model.TotalPrice, new { id = "Out.TotalPrice" })%> model.discountPrice, new { id = "Out.discountPrice" })%> 原价(¥) 折扣(%) 总价(¥) 后台代码 private string BindTableOutSend(IList objList) { sbProcessingtype = null; getProcessingtype();...
阅读全文
摘要:使用匿名函数页面不用控件不用调用处理事件 afdsafdsfasd
阅读全文
摘要:一.如果你的ie不能打开js脚本(连系统里所有的js文件都不运行,网页上的js广告或好多页面都显示不了),请按一下步骤进行排查与解决: 1.查看是否IE的安全里面禁止了JS的运行: 将工具=>internet选项==>高级=>禁止脚本调试去勾=>显示脚本显示提示打上勾
阅读全文
摘要:function goTo(url) { document.getElementById("iframeid").src = url; //获得要显示的页面,当点击时就会在iframe框架上展示 } function SetCwinHeight() { var iframeid = document.getElementById("iframeid"); //iframe id if (document.getElementById) { if (iframeid ...
阅读全文
摘要:地图 - 老干部管理信息系统 --> 位置: 周边:
阅读全文
摘要:1.查询 复制代码 代码如下: 数据查询 View Code 2.增加操作 复制代码 代码如下: 增加操作 编号 姓名 View Code 3.删除操作 复制代码 代码如下: 删除操作 View Code 4.修改操作 复制代码 代码如下: 修改操作 编号 姓名 View Code 另外,JS也可以操作SQL Server数据库 数据库名为:MySchool,表名为Student,StudentId为int类型,自增列,studentName为学生姓名,为varchar类型。数据库用户名为sa,密码是ok,...
阅读全文