有什么办法使window.location.href请求方式变成POST

baidu_41798070 2019-05-15 05:37:50

不知道为什么我的变成了POST方式,location.href = "myInWarehouse.aspx" + 参数,于是这样跳转页面就没有了后面的参数。。。
...全文
1362 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
得鹿梦鱼、 2019-05-17
  • 打赏
  • 举报
回复
应该不能,改为get就行了; https://blog.csdn.net/tanga842428/article/details/77414594
baidu_41798070 2019-05-16
  • 打赏
  • 举报
回复
引用 1 楼 C井爆破 的回复:
https://blog.csdn.net/weixin_39324977/article/details/80078055 https://www.liangzl.com/get-article-detail-2945.html 主要是你的form 的method属性是post,还是get
是额,我的form的method属性是post,原来form还会影响location.href的提交方式,那我url?后面的值还能传过去吗?
得鹿梦鱼、 2019-05-16
  • 打赏
  • 举报
回复
https://blog.csdn.net/weixin_39324977/article/details/80078055 https://www.liangzl.com/get-article-detail-2945.html 主要是你的form 的method属性是post,还是get

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧