摘要: 这是我网上找的,我只知道如何用,贴出来大家看看,因为我为这个愁了很久,直到今天才解决。代码如下:functionbrowseFolder(path){try{varMessage="\u8bf7\u9009\u62e9\u6587\u4ef6\u5939";//选择框提示信息varShell=newActiveXObject("Shell.Application");varFolder=Shell.BrowseForFolder(0,Message,64,17);//起始目录为:我的电脑//varFolder=Shell.BrowseForFolder( 阅读全文
posted @ 2012-02-04 23:34 kingjust 阅读(61438) 评论(4) 推荐(2) 编辑
摘要: 主要实现日期的显示,获取年月日,时分秒、星期、判断闰年<scriptlanguage="javascript">$(document).ready(function(){functionshow(){varmydate=newDate();var str = "" + mydate.getFullYear() + "年"; str += (mydate.getMonth() + 1) + "月"; str += mydate.getDate() + "日&nbsp;&nbsp; 阅读全文
posted @ 2012-02-04 18:22 kingjust 阅读(3629) 评论(0) 推荐(1) 编辑