What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » The data necessary to complete this operation is not yet available

The data necessary to complete this operation is not yet available
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: The data necessary to complete this operation is not yet available
You should only use the responseText property when (xmlhttp.readyState == 4) and (xmlhttp.status == 200). Try that and see if it works.
code:
(...)
xmlhttp.onreadystatechange = function () {
   if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
         // Data is available now
         DoSomethingUseful(xmlhttp.responseText);
      }
   }
}
xmlhttp.send();

And forget about while loops for doing that. Seriously. Forget it.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
11-15-2008 08:24 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
The data necessary to complete this operation is not yet available - by citricsquid on 11-15-2008 at 08:02 PM
RE: The data necessary to complete this operation is not yet available - by Matti on 11-15-2008 at 08:24 PM
RE: RE: The data necessary to complete this operation is not yet available - by citricsquid on 11-15-2008 at 08:40 PM
RE: The data necessary to complete this operation is not yet available - by Matti on 11-16-2008 at 09:59 AM
RE: RE: The data necessary to complete this operation is not yet available - by citricsquid on 11-16-2008 at 11:34 AM
RE: The data necessary to complete this operation is not yet available - by Matti on 11-16-2008 at 01:34 PM
RE: The data necessary to complete this operation is not yet available - by citricsquid on 11-16-2008 at 02:03 PM
RE: The data necessary to complete this operation is not yet available - by citricsquid on 11-16-2008 at 03:03 PM
RE: The data necessary to complete this operation is not yet available - by Matti on 11-16-2008 at 03:35 PM
RE: RE: The data necessary to complete this operation is not yet available - by citricsquid on 11-16-2008 at 03:42 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On