一、页面传值(用于表单提交)

     其实这个有好多的方法

     a、<input type="hidden" runat="server" >给这个隐藏域赋值然后后台xxx.value就可以拿到了。

     b、或者直接 window.location="你当前页面?xxx=你传的值" 后台 Request["xxx"]也可以拿到       

        function addUser()
        {
            var url = "userEdit.aspx?orgId=" + $("#hideOrgID").val();
            window.location.href = url;
        }
View Code

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2021-07-23
猜你喜欢
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-02-10
  • 2022-12-23
相关资源
相似解决方案