摘要: 1、在js传递参数中含加号(+)的处理方式: 只需要把js中传过去的+号替换成base64 编码 %2B:encodeURI(str).replace(/\+/g,'%2B')。 2、随机产生8位随机数: $.GetRandom = function () { var chars = ['0', ' 阅读全文
posted @ 2015-12-10 17:23 Iven_雨之恋 阅读(214) 评论(0) 推荐(0) 编辑