Hello everyone,
About a week ago I started learning ajax and also tried to improve some javascript skills. I done this to try and create something for a website that I am doing in work for a client. It was going well but I’ve hit a brick wall now, and can’t figure it out.
I have a select box that calls a function. This function then goes to a php page where a query was being created. At first I was just doing this echo “<optoin…..”> but now I want to return the query information so I can build the objects by DOM.
How can I do this?
JSON was suggested, but I just can’t figure out how to use it. The documentation seems very confusing and ambigious. Is it hard to use XML?
I quite like the idea of using XML. I have to send the data in a good/suitable format and then use XML to read it.
Any suggestiosn on how to do this or at least a starting point?
I’m going mad at the minute and spent over a week trying to solve this.
Thanks,
Gary.