xmsQueryParam方法示例

替换已有参数值

代码

JS初始化
				
var param1 = {
	"data": "action=query&id=1,2&msg=true",
	"replace": "id=3"
};
xmsCore.xmsQueryParam(param1);
				
			

以分隔符“,”将参数追加到已有参数中

代码

JS初始化
				
var param2 = {
	"data": "action=query&id=1,2&msg=true",
	"replace": "id=3",
	"sep": ","
};
xmsCore.xmsQueryParam(param2);