Ok so I have successfully set up a form that searches an external 3rd party database. This works great
However this returns the 3rd parties xml file with results. I want the results to be shown in the Ajax result underneath the form - how do I do this?!
Sorry for the dummy question
HI ecopure,
I'm not clear exactly what you want to do? Are you querying the remote DB before the page loads or using JavaScript and Ajax in the browser?
Either way you'll need to use an XML Parser (PHP or JavaScript) to read the returned file and extract the data you need.
Bob
Thanks for the reply.
The form is a vehicle reg with hidden fields to log us into the third party webservice.
This then returns all the information about the vehicle in an xml form.
So currently the form is working to call the information, and xml form is then displayed.
Having further researched it, i am thinking i need to make up an XMLhttpredirect with FormData code? Which is a little over my head....
Hi ecopure,
Sorry, hard to say anything more without a lot more detail of what is returned to you.
Bob