title: openfire get online users
body: <p>I'm using OpenFire server for instant messaging and JSJaC JavaScript library on the client. I'm new in XMPP technology.<br>
  What I want is on load I want to send a list of users and receive status for each. Something like </p>
  
  <pre><code>$(function(){
      var UserList = ["Isis", "Jackob", "Oybek"];
      con.send(UserList, OnComplete);
  });
  
  
  function OnComplete(myList){
      for (el in myList)
          if (el.IsOnline) {
              // Do DOM Stuff
          }
  }
  </code></pre>
  
  <p>Is it possible?<br>
  I've been looking for the documentation, examples and other similar responses but didn't find anyting. </p>