title: parsing serialized Dictionary<string, string> jquery
body: <p>i've managed to serialze a Dictionary collection. I return it from the webservice to jQuery ajax as a string then i place the return value into the javascript variable that i've declared as an array:</p>
  
  <pre><code>var myHistoryList = {};
  
  ....
  success: function(retVal) {
                      myHistoryList = retVal.d;                   
                  }
  </code></pre>
  
  <p>Then I attempt to loop through it, it seems to be not getting the right value. instead its displaying jQuery code like this:</p>
  
  <pre><code>trimStart  function(){return this.replace(/^\s+/,"")} 
  </code></pre>
  
  <p>which is pretty weird to me.</p>
  
  <p>Heres my javascript for-loop:</p>
  
  <pre><code>for (var yahoo in myHistoryList) {
                      $('#myUseTable &gt; tbody:last')
                          .append('&lt;tr&gt;&lt;td&gt;' + [yahoo] +
                                  '&lt;/td&gt;&lt;td&gt;' + myHistoryList[yahoo] +
                                  '&lt;/td&gt;');
                  };
  </code></pre>
  
  <p>Help!</p>