title: Use jquery fullcalender to append values to bold by database values
body: <p>I'm using fullcalender with jQuery and I'm wonder if its possible, if my array has <code>'bold' = true/false,</code> I could use jquery to attach a new class to it.</p>
  
  <pre><code>$(document).ready(function() {
      $('#calendar').fullCalendar({
          editable: false,
          allDay: false,
          events: "json-events.php",
          eventDrop: function(event, delta) {
              alert(event.title + ' was moved ' + delta + ' days\n' +
                  '(You cannot update these fields!)');
          },
          loading: function(bool) {
              if (bool) $('#loading').show();
              else $('#loading').hide();
          },
      });
  });
  </code></pre>
  
  <p>If I had a database value id 'bold' can I make jquery add a style the 'title'.</p>
  
  <pre><code>$result = $dbh-&gt;query($sql)-&gt;fetchAll(PDO::FETCH_ASSOC);
  
  foreach ($result as $row){
  $return[]=array('id'=&gt;$row['id'],
                  'title'=&gt;$row['title'],
                  'start'=&gt;$row['start'].' '.$row['time'],
                  'end'=&gt;$row['end'],
                  'url'=&gt;$row['url'],
                  'backgroundColor'=&gt;$row['backgroundColor'],
                  'textColor'=&gt;$row['textColor'],
                  'borderColor'=&gt;$row['borderColor'],
                  'description'=&gt;$row['description'],
                  "allDay" =&gt; false);
  }
  $dbh = null;
  
  header('Content-type: application/json');
  echo json_encode($return);
  </code></pre>
  
  <p>I'd like to use jQuery or edit the phpscript possibly. But I do not want to edit fullcalender.js file.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I've been looking more into this, and if events: "json-events.php" I could add a function that would add bold style to the css.</p>
  
  <pre><code> $(document).ready(function() {
      $('#calendar').fullCalendar({
          editable: false,
          allDay: false,
          events: function() {...
  </code></pre>
  
  <p>maybe by adding variables of getElementById and if it is true, have it append a style to the css.</p>