Reputation: 4846
Is there any way or any extension for chrome through which i can check what form parameters are submitted when a form is submitted.
for example
<form action="post.php" type="post">
<input name="fname" type="text">
<input type="submit" name="submit" value="Submit Form">
</form>
so i want to see the value of text field whenever the form is submitted.
Upvotes: 0
Views: 5062
Reputation: 108
Yes if it is ajax submission of form using jquery $.ajax, then you carryout following steps to see the form data:
If it is not ajax submission then you need to check it at the back-end ( in the function to which the form data is sent ).
PHP : you can just do print_r($_POST) or var_dump($_POST) to see the data posted to your function from your browser form.
Upvotes: 3