How can you see what the attribute rel
contains when it is transferred by POST?
I transfer a variable by the rel attribute by jQuery. I would like to know what the attribute, $_POST['answer'], contains.
This question is based on: To make an action based on the link location by jQuery
jQuery IRC tells me that the solution seems to be Firebug somehow. How can you see POST data in Firebug?
The jQuery post() method sends asynchronous http POST request to the server to submit the data to the server and get the response. Syntax: $. post(url,[data],[callback],[type]);
The “formData” is a constructor to create an object. The object helps to work form Data methods such as append, delete, get, etc. methods syntax is below. var variable_name = new formData(); variable_name.
Sends an asynchronous http POST request to load data from the server. Its general form is: jQuery. post( url [, data ] [, success ] [, dataType ] ) url : is the only mandatory parameter.
jQuery post() Method post() method loads data from the server using a HTTP POST request.
You can use the Network tab and look at the params tab as shown below (this was a get request to google where I search for the word hello).
(source: gyazo.com)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With