Reputation: 0 Apprentice
- Active Posts:
- 37 (0.04 per day)
- 03-July 12
- Profile Views:
- Last Active:
- Nov 10 2013 01:23 PM
- Dream Kudos:
Posts I've Made
Posted 29 Mar 2013The purpose of ajax is that you can send data to a PHP script (among other things). The PHP script would examine this data, and return some other data, that you can intercept and do something with, such as insert values into the current page.
Currently, when your request is successful, you are ignoring any returned data and, completely separate from your original request, attempting to load the page capture.php.
You need to clarify:
If you just want to post data to a PHP script, and display the page that this script creates, then don't use ajax: just use a standard HTML-form and POST data;
If you want to use ajax, so that you can post some data, and do something with the data that the PHP returns, then re-read the docs for jQuery-ajax.
the purpose of catch.php is that when it gets the inputs its comapres it with the inputs in database for login.....but due to this error it is unable to do so
Posted 25 Dec 2012hi guys,
<div id="apDiv1"><a href="#">first link</a></div>
now using jquery i am able to load a php page "two.php" in the div....but when i click the links in two.php it redirects to a different page which is supposed to happen. so i want to make my div work like an iframe......
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
- Click here to e-mail me
mshadow hasn't added any friends yet.