JQuery Ajax的get或post方法,如果传值是中文的话将会出现“?”,而所传的中文将无法显示。一般可以这样来解决:

传递 data: "commentText=" + escape(CommentText),

接收 string strwhvalue = HttpUtility.UrlDecode(Request.QueryString(commentText));

PS:我的淘宝店铺新开业,经营各种桌游,棋牌,希望大伙儿能来看看!http://201314yes.taobao.com/

相关文章:

  • 2021-07-22
  • 2021-06-19
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-06-27
  • 2021-07-27
  • 2021-05-24
猜你喜欢
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2022-03-04
相关资源
相似解决方案