encodeURI
2016-06-10 04:46
232 查看
encodeURI("http://www.cnblogs.com/season-huang/some other thing"); //整个URL进行编码
"http://www.a.com?foo="+encodeURIComponent(param);
decodeURI 或 decodeURIComponent
"http://www.a.com?foo="+encodeURIComponent(param);
decodeURI 或 decodeURIComponent
相关文章推荐
- Docker —几个概念的理解
- *leetcode #84 in cpp
- windows下自制动画层引擎 - 放两个demo
- 深度探索C++对象模型--关于对象
- 陶哲轩实分析-第12章 度量空间 4/5节
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 统计学 分布篇 - Binomial Distribution(二项分布)
- leecode_264 Ugly Number II
- leecode_260 Single Number III
- 统计学 入门基础PDF( Probability Density Function) 和PMF ( Probability Mass Function )
- C# 7.0 新特性1: 基于Tuple的“多”返回值方法
- 工程脚本插件方案 - c集成Python基础篇(VC++嵌入Python)
- leecode_241 Different Ways to Add Parentheses
- 330. Patching Array
- iOS_二维码生成和扫描
- list一些操作方法的总结i
- object references an unsaved transient instance - save the transient instance before flushing: org.t
- 直接运行Python程序
- Panda3D学习之路(二)
- JDBC连接各种数据库的地址名称