server.php adds some post requests and redirects the page to client.php..
Is it possible to use ajax here to access the post parameters from server.php ?
I am a new bie in ajax and php.
Server redirection = post request to client.php
How can I use ajax here to prevent the page loading problem..
client.php
Expand|Select|Wrap|Line Numbers
- <form name ="Play" method="post" action="server.php"><input name="fname" valie="fname" /><input name="sbmt" value="Submit"></form>
- <?php
- if (isset($_POST['rname'])){
- echo $_POST['rname'];
- }
- ?>