随笔分类 -  javascript功能集

摘要:.menuParent {font-size: 12px;width: 145px;font-weight: bold;display:block;height: 33px;padding-top:7px;vertical-align :middle ;}.menuParent a{ text-decoration: none;}.menuParent a:hover {font-size: 12px;color: #FFFFFF;width: 145px;font-weight: bold;text-decoration: none;height: 33px;padding-top:7px. 阅读全文
posted @ 2012-06-25 10:15 做最好の自己 阅读(386) 评论(0) 推荐(0)
摘要:1、数组的创建 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->var arrayObj = new Array(); //创建一个数组var arrayObj = new Array([size]); //创建一个数组并指定长度,注意不是上限,是长度var arrayObj = new Array([element0[, element1[, ...[, elementN]]]]); //创建一个数组并赋值 要说明的是,虽然第二种方法创建数 阅读全文
posted @ 2012-05-22 18:21 做最好の自己 阅读(185) 评论(0) 推荐(0)
摘要:1实现弹出对话框,选择“确定”与“取消”的对应操作!2this.ClientScript.RegisterStartupScript(typeof(string),"alert","if(confirm('您第一登录系统,请修改密码?')==true){location.href='index.aspx?updatepwd=yes';}else{location.href='index.aspx?updatepwd=no';}",true); 阅读全文
posted @ 2011-12-05 15:50 做最好の自己 阅读(617) 评论(0) 推荐(0)
摘要:截图://///////////////////////调用实例// <div>// <span>交易查询:</span> <span>从// <input name="control_date" type="text" id="control_date" size="10"// maxlength="10" onclick="new Calendar().show(this);" readonly="reado 阅读全文
posted @ 2011-09-24 19:26 做最好の自己 阅读(1197) 评论(0) 推荐(0)