
javascript
thirtysix1207
从事J2EE开发工作4年以上有2年的项目管理经验。
展开
-
showModalDialog和showModelessDialog
一、showModalDialog和showModelessDialog有什么不同?showModalDialog:被打开后就会始终保持输入焦点。除非对话框被关闭,否则用户无法切换到主窗口。类似alert的运行效果;showModelessDialog:被打开后,用户可以随机切换输入焦点。对主窗口没有任何影响。二、怎样才让在showModalDialog和showModelessDialo转载 2007-01-11 09:55:00 · 563 阅读 · 0 评论 -
URL 特殊字符
有些符号在URL中是不能直接传递的,如果要在URL中传递这些特殊符号,那么就要使用他们的编码了。编码的格式为:%加字符的ASCII码,即一个百分号%,后面跟对应字符的ASCII(16进制)码值。例如 空格的编码值是"%20"。下表中列出了一些URL特殊符号及编码转载 2007-07-04 16:34:00 · 812 阅读 · 0 评论 -
DES加密解密(JavaScript)
加密 //str 是想加密的字符串//pwd 是keyfunction encrypt(str, pwd) { if (pwd == null || pwd.length 0) { alert("Please enter a password with which to encrypt the message."); return null;转载 2007-09-27 09:38:00 · 2827 阅读 · 1 评论 -
什么是JSON
摘要 JavaScript Object Notation (JSON) 是一种轻量级、基于文本、语言无关的数据交换格式。它是从ECMAScript语言标准衍生而来的。JSON为轻便的表示结构化数据,定义了一小套格式化规则转载 2007-09-29 17:27:00 · 1575 阅读 · 0 评论 -
lightbox2.0 使用方法
Part 1 - Setup Lightbox 2 uses the Prototype Framework and Scriptaculous Effects Library. You will need to include these three Javascript files in your header (in this order). script typ转载 2008-01-15 17:56:00 · 1149 阅读 · 0 评论