朱杰兵blog

jonhney'blog
posts - 140, comments - 1, trackbacks - 0, articles - 0

$.param

Posted on 2015-07-07 17:32 朱杰兵 阅读(131) 评论(0)  编辑  收藏
var myObject = {   a: {     one: 1,      two: 2,      three: 3   },    b: [1,2,3] }; 
var recursiveEncoded = $.param(myObject);
var recursiveDecoded = decodeURIComponent($.param(myObject));//转成中文

只有注册用户登录后才能发表评论。


网站导航: