javascript
文章平均质量分 77
yuanjt10
这个作者很懒,什么都没留下…
展开
-
下拉框模拟只读
/** * 为下拉框模拟只读效果 */ function setSelectReadOnly(obj){ if(!document.getElementById){ return false; } var span='<span onmousemove="this.setCapture();" onmouseout="this.releaseCaptu...原创 2011-08-02 17:20:20 · 98 阅读 · 0 评论 -
js实现局部刷新的方法
/** *@description: 统一的局部刷新请求入口 *@param: actionName 已配置的action *@param: actionMethod action中的方法 *@param: getParameter 利用get方法传递的参数 *@param: ...原创 2011-08-10 21:27:46 · 1331 阅读 · 0 评论 -
页面操作的简化
$ : function(id, scope) { if (arguments.length == 1 || !scope) { return document.getElementById(id); } var childNodes = scope.childNodes; var len = childNodes.length; for (var i = 0; i < len...原创 2011-08-10 21:37:32 · 153 阅读 · 0 评论