随笔分类 -  JavaScript

摘要:Picking Dates with a Free RJS PopCalendar, a Free ASP.NET Popup Calendar Control http://aspnet.4guysfromrolla.com/articles/060408-1.aspx And there also have many good pop up calendar controls: ASP.... 阅读全文
posted @ 2009-03-18 16:23 jinweida 阅读(198) 评论(0) 推荐(0)
摘要:父窗口代码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 无标题页 子窗口代码: CodeCode highlighting produced by Ac... 阅读全文
posted @ 2009-01-14 15:55 jinweida 阅读(4336) 评论(0) 推荐(1)
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> jQuery ... 阅读全文
posted @ 2008-11-19 14:44 jinweida 阅读(483) 评论(0) 推荐(0)
摘要:window.showModalDialog使用手册 showModalDialog() (IE 4+ 支持)showModelessDialog() (IE 5+ 支持)window.showModalDialog()方法用来创建一个显示HTML内容的模态对话框。window.showModelessDialog()方法用来创建一个显示HTML内容的非模态对话框。 使用方法:vReturn... 阅读全文
posted @ 2008-08-02 08:48 jinweida 阅读(226) 评论(0) 推荐(0)
摘要:一、window.open()支持环境:JavaScript1.0+/JScript1.0+/Nav2+/IE3+/Opera3+二、基本语法:window.open(pageURL,name,parameters) 其中:pageURL 为子窗口路径 name 为子窗口句柄 parameters 为窗口参数(各参数用逗号分隔) 三、示例: 脚本运行后,page.html将在新窗体newwind... 阅读全文
posted @ 2008-07-07 11:19 jinweida 阅读(303) 评论(0) 推荐(0)
摘要:描述event代表事件的状态,例如触发event对象的元素、鼠标的位置及状态、按下的键等等。event对象只在事件发生的过程中才有效。event的某些属性只对特定的事件有意义。比如,fromElement 和 toElement 属性只对 onmouseover 和 onmouseout 事件有意义。例子下面的例子检查鼠标是否在链接上单击,并且,如果shift键被按下,就取消链接的跳转。Cance... 阅读全文
posted @ 2008-07-07 11:15 jinweida 阅读(362) 评论(0) 推荐(0)
摘要:New Document 阅读全文
posted @ 2008-07-07 11:12 jinweida 阅读(575) 评论(0) 推荐(0)
摘要:var code ; //在全局 定义验证码 function createCode() { code = ""; var codeLength = 6;//验证码的长度 var checkCode = document.getElementById("checkCode"); var selectChar = new A... 阅读全文
posted @ 2008-07-07 11:10 jinweida 阅读(741) 评论(0) 推荐(0)
摘要:JavaScript的核心之一ECMAScript的语言特性和Java、C、Perl都有许多相似之处,其中不少特性都是从这些语言借鉴而来,同时它们之间也存在许多差异。下面列举一些ECMAScript的基本特性。--和Java一样,ECMAScript区分大小写,注释的格式相同,通过{}确定代码块,原始数据类型存储在堆栈,对象的引用存储在堆中--ECMAScript是一种松散的语言,ECMAScri... 阅读全文
posted @ 2008-06-26 14:44 jinweida 阅读(276) 评论(0) 推荐(0)
摘要:Power TableFirst NameLast NameTeamEngineTyresFastest Lap国家MichaelSchumacherFerrariFerrariBridgestone1.15.872德国RubensBarrichelloFerrariFerrariBridgestone1.16.760法国RalphSchumacherWilliamsBMWMichelin1.... 阅读全文
posted @ 2008-04-01 20:29 jinweida 阅读(1174) 评论(0) 推荐(0)