2011年8月10日
摘要: /**********************一。验证类*****************************///对象是否存在function isObj(str){if(str==null||typeof(str)=='undefined')return false;return true;}//去除字符串中的空格function strTrim(str){if(!isObj(str))return 'undefined';str=str.replace(/^/s+|/s+$/g,'');return str;}/************ 阅读全文
posted @ 2011-08-10 11:55 yjheimi 阅读(13094) 评论(1) 推荐(3) 编辑
摘要: 1. 打开新的窗口并传送参数: 传送参数:response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')</script>")接收参数:string a = Request.QueryString("id");string b = Request.QueryString("id1");2.为按钮添加对话框传送参数:resp 阅读全文
posted @ 2011-08-10 11:55 yjheimi 阅读(148) 评论(0) 推荐(0) 编辑