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?
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).
alt text http://gyazo.com/43e791b56e06570a1245b76153dc3f44.png
There are various tools you can use to capture such information. I use a plugin for Firefox called Live HTTP Headers, which lets you view the HTTP headers that are being transferred in each request, so you would be able to view your post variable.
Firebug can also be used, it is also a plugin available for Firefox. Select the Net tab, then select All. Here you will see a list of all requests. Now you can expand each request to view the headers (and hence the post variables).