title: jQuery to change color of second word in title/heading
body: <p>I am currently using this JavaScript to change the color of the second word in each of my widget titles. But with this code, as it loops through each widget, it ends up printing all of the titles, from all of the widgets on the page, in each widget title. So for example, I have two widgets with titles "Recent Work" and "Recent Press". Work and Press are supposed to be orange. With this code, it outputs "Recent WorkRecent Press", where Work and Recent are both orange. This is printed the same in both widget titles. How can I edit this so it makes just the second, or last since each title will only be two words long, word orange?</p>
  
  <pre><code>var split = $("h4.widgettitle").text().split(" ");
  
  if(split.length &gt; 0) {
  $("h4.widgettitle").html('').append("&lt;span class='firstWord'&gt;" + split[0] + "&lt;span&gt; ");
  
  if(split.length &gt; 1) {
      $("h4.widgettitle").append("&lt;span class='secondWord'&gt;" + split[1] + "&lt;span&gt; ");
      for(var i=2;i&lt;split.length;i++) {
          $("h4.widgettitle").append(split[i] + " ");
      }
    }
  }
  </code></pre>