需要URL作为参数需要转义的字符
需要对以下七个字符进行转义
% %25
& %26
+ %2B
/ %2F
# %23
= %3D
空格 %20
需要对以下七个字符进行转义
% %25
& %26
+ %2B
/ %2F
# %23
= %3D
空格 %20
以下是一篇本人在Qzone里写下的文章,现在放到这里来,欠丑了。希望对一些初学者有一点点帮助。 今天给大家说说JavaScript中的类。类?没错。JavaScript中的函数原型对象就是OOP中人们熟悉的类。..…
《Dom Scripting》读书笔记 Canca 最近看了一本《Jeremy Keith: DOM Scripting, Web design with JavaScript and the DOM. Apr…
调用email的方法 //<a href="mailto:talantlee@126.com">Email</a>window.location.href="mailto:talantlee@126.com";myform.action="mailto:talant…
// 人的基類var Person=new ( function(){ var sex; var name; this.getSex=function() &nbs…
1>获取控件用document.getElementById,不用document.all(FF等浏览器不支持)2><button> 会被firefox解释为提交form或者刷新页面,需要写标准<button type="button">3>使用childN…
1>window.prompt(text, value) 簡單的基與模態窗體的對話框,(返回你輸入) var v=window.prompt("提示","請輸入你的名字")2>window.confirm(text,mess) 模態確認框(返回"是/否…