var form = document.createElement('form');
    form.action = 'gosomewhere';
    form.method = 'post';      
    var input = document.createElement('input');
    input.type = 'hidden';
    input.name = 'platoonCode';
    input.value = patooncode;
    form.appendChild(input);   
    $(document.body).append(form);
    form.submit();

————————————————
版权声明:本文为CSDN博主「75闪光雷」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_34309305/java/article/details/78831277

相关文章:

  • 2021-08-06
  • 2022-12-23
  • 2022-03-09
  • 2021-10-19
  • 2021-10-19
  • 2021-10-19
  • 2021-10-19
  • 2022-12-23
猜你喜欢
  • 2021-10-19
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
相关资源
相似解决方案