> It should be returning : > return subcategorytexthtml; //This is global variable
Perhaps you haven't really grasped the asynchronous bit yet. As first supplied, the 'return' statement will be executed AFTER the GXmlHttp request has been fired off, but BEFORE any data has come back. Naturally it's empty at that time. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
