change URL url friendly
This question already has an answer here:
You can use the encodeURIComponent & decodeURIComponent function of javascript.
encodeURIComponent(uour_url)
decodeURIComponent(encoded_uri)
Check this http://jsfiddle.net/aGQFK/1/
链接地址: http://www.djcxy.com/p/26534.html上一篇: 在一个url字符串中传递参数串
下一篇: 更改网址友好