在用jquery的post方法时
$.post('adminCheckTpmisPlans.do',{'test',str},function(f){
...
})

报如下错误
SyntaxError: missing : after property id

原因是传参数时 应该是JSON格式  keyv/alue形式
把{'test',str}改为{'test':str}就行了。

相关文章:

  • 2021-08-24
  • 2022-12-23
  • 2021-09-29
  • 2021-10-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案