How to read the post request parameters using JavaScript

后端 未结 18 1334
自闭症患者
自闭症患者 2020-11-22 16:41

I am trying to read the post request parameters from my HTML. I can read the get request parameters using the following code in JavaScript.

$wnd.location.sea         


        
18条回答
  •  抹茶落季
    2020-11-22 17:14

    Why not use localStorage or any other way to set the value that you would like to pass?

    That way you have access to it from anywhere!

    By anywhere I mean within the given domain/context

提交回复
热议问题