I have Ajax code that can retrieve data from the server and update the page without refreshing it. This works fine if I only want one item of information and want to display it in a div or span tag.
The problem I'd like help with is being able to send an id number to the server to request an address and contact information and return the data into different text fields. E.g. I want to return address line 1 to a text field, address line 2 to another text field, etc....
Does anybody know how to return multiple data values from an Ajax request and display them in different elements on the page?
I appreciate any help you can give me.