Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XMLHttpRequest variable scope in widget



I have a global variable called 'ver' that is set to a string.

I am pulling raw content via XMLHttpRequest just fine, but now I have added a little javascript to the raw content to output the value of 'ver' in the text:

document.write(ver);

...yet this outputs nothing. Is data brought in via XMLHttpRequest not tied to the existng "page" (widget) variable scope? Tnx.




bp _______________________________________________ Do not post admin requests to the list. They will be ignored. Dashboard-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.