title: fullCalendar adding a class to events
body: <p>I am trying to select events on fullcalendar, based on user selection.    </p>
  
  <p>Example: if user selects class A, then all classes with the same ID should turn green (using applied className).</p>
  
  <p>I am having trouble applying classes to the other events that I can successfully select by ID. I guess my issue is combining the event objects with jQuery objects.</p>
  
  <p>sample code:</p>
  
  <pre><code>eventClick: function(event) {
    $(this).addClass("reg_selected");  //this works fine on selected event
    var selectedID = event.id
    alert(selectedID);                 //get event.ID, and use it to find similar ones.
    var similarEvents = $("#calendar").fullCalendar('clientEvents',selectedID).addClass("reg_selected");
  </code></pre>
  
  <p>the error I get is: </p>
  
  <pre><code>  addClass is not a function
  </code></pre>
  
  <p>I also tried this method of looping, and got the same error:</p>
  
  <pre><code>for (var i = 0; similarEvents.length &gt; i ; i++){
      alert(similarEvents[i].title);
      similarEvents[i].className("reg_selected");
  }
  </code></pre>
  
  <p>the alert() worked, but the className() generated the same error as above</p>