Below is how I made my widget check for updates, no reading of the plist necessary, and if you put checkForUpdates in the onload functions of the body tag, then the user doesn't ever have to hit update.
-micah
var req;
var versionNumber = 1;
function checkForUpdates() {
req = new XMLHttpRequest();
req.send(null);
req.>
}
function processReqChange()
{
if (req.readyState == 4)
{
if(req.responseText != versionNumber)
{
}
}
}
Is it possible for me to read these in so that I can hit my website behind the scenes with an XMLHttpRequest and determine if the user has the latest version, when they hit an "Update?" button? How would I get the values from the plist?
Thanks.
bp
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription: