kwstephenchan Posted January 8, 2009 Share Posted January 8, 2009 Hi all, I am new to Ajax. just wonder if the following can be implemented using Ajax: The first PHP calls ajax and ajax call another php. User then picks a selection (with html and user interaction) and the selection is sent back to the first php via ajax without reloading the first page and losing everything that the user has entered. I have tried php calling ajax and ajax calls another php and returns a value back to the first php. It works. The difference is that this second php does not have a user interface, it is just searchiing database for value. If this cannot be implemented, I might as well give up on this approach. Please advise. Thanks. Quote Link to comment Share on other sites More sharing options...
priti Posted January 12, 2009 Share Posted January 12, 2009 you can do this but little modification in the approach 1.initiate AJAX request 2. based on ajax request parameter process the second file and send the output to first file now dynamically modify your first file so that user can select and on selection create a new request. i hope i make sense please be more specific so that i can explain well with your requirements. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.