jquery传中文值乱码问题
- 提交时采用encodeURI两次编码,例如
type=encodeURI(encodeURI('商品'))
- 在后台action里要对取得的字符串进行decode
URLDecoder.decode(type, “UTF-8″);
相关推荐
angqiuli 2019-12-19
yicuncuntu0 2019-12-19
益之 2015-04-21
terabits的钵壳 2014-05-29
congweijing 2014-12-01
roodyszz0 2014-10-11
WillZhang 2014-08-09
roodyszz0 2014-05-15
lxpandsq 2014-04-21
liqing00 2010-11-18
honeyth 2014-03-31
80477204 2014-03-26
WillZhang 2014-03-17
}'这是取得Action穿过来的值,如果想取当前标题改为document.title. <a href="javascript:void" onclick="postToWb();" class="t
bossbusy 2014-03-12
herionliu 2013-09-10
谢恩铭 2013-07-11
zhaow 2010-04-05