Important Rules

View previous topic View next topic Go down

Important Rules

Post by KendrisX on Thu Aug 25, 2016 10:32 am

Be respectful on the forum.

Administrator

Posts : 12
Join date : 2016-07-27

View user profile

Back to top Go down

Re: Important Rules

Post by Foru on Tue Sep 20, 2016 7:03 am

Code:
var number_of_groups = 3,
  i,
  name = "Vesper"; // _userdata.username;

for (i = 0; i < number_of_groups; i++) {
  
  (function(groupID) {
    $.get('/g' + groupID + '-', function(group) {
      var members = [],
        j;

      $(group).find('tr[class]:not(.row3) td:nth-child(2)').each(function() {
        members.push($(this).text());
      });

      for (j = 0; j < members.length; j++) {
        if (name == members[j]) {
          alert(members[j] + ' was found in /g' + groupID);
          break;
        }
      }
    });

  }(i + 1));
}

Administrator

Posts : 11
Join date : 2016-07-27

View user profile http://foru.forumotion.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
 

Permissions in this forum:

You cannot reply to topics in this forum