title: jquery: "Exception thrown and not caught" in IE8, but works in other browsers
body: <p>My code works fine in other browsers, but in IE8 I get "error on page" - and when I click that it says:
  "Exception thrown and not caught Line: 16 Char: 15120 Code: 0 
  URI: <a href="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" rel="nofollow">http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js</a>"</p>
  
  <p>I tried linking to jquery.js (rather than jquery.min.js) and to 1.5.1/jquery.min.js,
  but problem still remains.  </p>
  
  <p>Can someone correct/improve my code for me, or guide me as to where to look.   Thanks</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function fbFetch() 
  {
  var token = "&lt;&lt;tag_removed&gt;&gt;&amp;expires_in=0";
  
  //Set Url of JSON data from the facebook graph api. make sure callback is set with a '?' to overcome the cross domain problems with JSON
  var url = "https://graph.facebook.com/&lt;&lt;ID_REMOVED&gt;&gt;?&amp;callback=?&amp;access_token=" + token;
  
  //Use jQuery getJSON method to fetch the data from the url and then create our unordered list with the relevant data.
  $.getJSON(url, function(json)
  {
      json.data = json.data.reverse();  // need to reverse it as FB outputs it as earliest last!
      var html = "&lt;div class='facebook'&gt;";
  
      //loop through and within data array's retrieve the message variable.
      $.each(json.data, function(i, fb)
      {
          html += "&lt;div class='n' &gt;" + fb.name;           
          html += "&lt;div class='t'&gt;" + (dateFormat(fb.start_time, "ddd, mmm dS, yyyy")) + " at " + (dateFormat(fb.start_time, "h:MMtt")) + "&lt;/div &gt;"; 
          html += "&lt;div class='l'&gt;" + fb.location + "&lt;/div &gt;"; 
          html += '&lt;div class="i"&gt;&lt;a target="_blank" title="opens in NEW window" href="https://www.facebook.com/pages/&lt;&lt;id_removed&gt;&gt;#!/event.php?eid=' + fb.id + '" &gt;more info...&lt;/a&gt;&lt;/div&gt;'; 
          html += "&lt;/div &gt;";              
      }
      );
      html += "&lt;/div&gt;";
  
      //A little animation once fetched
      $('.facebookfeed').animate({opacity: 0}, 500, function(){
          $('.facebookfeed').html(html);
      });
      $('.facebookfeed').animate({opacity: 1}, 500);
  });
  </code></pre>
  
  <p>};
  </p>