
微信
Henry_楠
这个作者很懒,什么都没留下…
展开
-
小程序协议篇
小程序协议怎么写,小程序富文本原创 2022-11-12 11:48:50 · 500 阅读 · 0 评论 -
js URLEncode函数
完美的js URLEncode函数当需要通过查询字符串传值给服务器时需要对get参数进行encode。escape()函数,不会encode @*/+ (不推荐使用)encodeURI()函数,不会encode ~!@#$&*()=:/,;?+' (不推荐使用)encodeURIComponent()函数,不会encode ~!*() 这个函数是最常用的我们需要对encodeURIComponent函数,最一点修改:function urlencode (str) { s原创 2021-11-26 14:22:07 · 32955 阅读 · 4 评论