posts - 7,comments - 5,views - 18190
11 2012 档案
浅谈 URL 编码问题
摘要:一:javascript 中的三个对字符串编码和解码函数: a)编码函数:escape, encodeURI, encodeURIComonent。作用: 用来编码。 b)相对应解码函数:unescape, decodeURI, decodeURIComponent。作用:用来解码。、 这些函数区别: escape(string) 函数,该方法不编码的字符有:+,-,*,/,@,_,.,A-Z,0-9 共69个字符。 encodeURI(string) 函数,该方法不编码的字符有:+,-,*,/,@,_,.,A-Z,0-9,~,!,@,#,$,&,',:,;,=,(,),?,, 阅读全文
posted @ 2012-11-06 18:08 Albert Fei 阅读(313) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示