查看 jQuery 传输的内容 POST 数据 [英] To see the content POST data trasferred by jQuery

查看:12
本文介绍了查看 jQuery 传输的内容 POST 数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何查看rel属性在POST传输时包含什么内容?

我通过 jQuery 的 rel 属性传输一个变量.我想知道属性 $_POST['answer'] 包含什么.

此问题基于:
(来源:gyazo.com)

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).


(source: gyazo.com)

这篇关于查看 jQuery 传输的内容 POST 数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆