js对文字进行编码涉及3个函数:escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent1、 传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截断。例如:script language="javascript"document.write('a href="http://passport.baidu.com/?logout&aid=7&u='+encodeURIComponent("http://cang.baidu.com/bruce4 Read More
posted @ 2011-01-18 22:37
七郎
Views(3404)
Comments(0)
Diggs(0)
只有注册用户登录后才能阅读该文。 Read More
posted @ 2011-01-18 17:08
七郎
Views(10)
Comments(0)
Diggs(0)
1.XML中设置property 标签 update = “false” ,如下:我们设置 age 这个属性在更改中不做更改 <property name=”age” update=”false”></property><BR> 在Annotation中 在属性GET方法上加上@Colu... Read More
posted @ 2011-01-18 16:58
七郎
Views(5973)
Comments(0)
Diggs(1)

浙公网安备 33010602011771号