Skip to content Skip to sidebar Skip to footer

Read Values From Form Post In Jquery Or Javascript

i have a form which when submitted goes to login page of another site and After the authentication is verified, the user is redirected back to my site and i receive from post value

Solution 1:

The POST values are not available to jQuery or Javascript, because the server does not send them back to the client after the form is submitted. You need to echo them in your page using a server-side code, for example in PHP :

var$_POST = <?phpecho json_encode($_POST); ?>;

Then you'll be able to use $_POST.

Post a Comment for "Read Values From Form Post In Jquery Or Javascript"