标签:
传递时
brand_name.replace(/\s/g,"+")
brand_name是要传递的参数,意识是将空格用+号代替
接收时
var brand_name = getRequestParas(‘brand_name‘).replace(/\+/g," ");
意思是接收时用空格将+号代替
URL参数传递空格处理
原文地址:http://www.cnblogs.com/JAYIT/p/4236084.html