var jm = window.location.host;//获取计算机名
    var dk = window.location.port;//获取端口
    var str = "/Lists/List2/EditForm.aspx";
    var wh = window.location.search;//问号后面的
 

    window.location.href = 'http://'+jm+dk+str+wh;

相关文章:

  • 2021-10-13
  • 2021-12-04
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-17
  • 2022-02-19
  • 2020-06-08
  • 2022-12-23
  • 2022-02-17
  • 2021-11-18
相关资源
相似解决方案