receiving variables back with ajax
Here is my situation:
I have changed the generateXML function to use ajax to get the xml. The page the xml comes from does several things:
2, it opens the resulting xml and sets some others vars which i want to use to change innerHTML on my main page (chart titles, date ranges etc)
3, it creates a table of data to go with the chart (for accessibility), which will also go on the page via innerHTML.
here is my generateXML function:
this works for the xml, but i have several problems:
alert("Your browser does not support AJAX!");
1, i would like to put the 'return strXML' in the 'readyState' statement, so it only returns when ready, but it stops working if i do this.
I am very new to AJAX and basically need some guidance.
If you've read this far thank ;)