摘要:
js对文字进行编码涉及3个函数:escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent 1、 传递参数时需要使用encodeURIComponent,这样组合的url才不会被#等特殊字符截断。 例如: 2、 进行url跳转时... 阅读全文
posted @ 2008-01-18 10:51
Jackie Yao
阅读(410)
评论(0)
推荐(0)
浙公网安备 33010602011771号