title: populate select option with JSON data
body: <p>I have seen many examples and I have used this myself in many of my programs but for some reason this doesn't want to work today. </p>
  
  <p>I have JSON data that I can show in <code>console.log</code> but it is unusable in my <code>select</code>. I get this error in my console:</p>
  
  <blockquote>
    <p>Cannot use 'in' operator to search for '76' in {"hello1":"hello1","hello2":"hello2"}  </p>
  </blockquote>
  
  <p>This is my code:</p>
  
  <pre><code>$.get("JSON.php?value=two", function(response) {
      console.log(response);
      // this is what my JSON returns 
      // {"hello1":"hello1","hello2":"hello2"}
  
      if (response != '') {
          $('#dropdown').find('option').remove(); 
          $.each(response,function(key, value){
              $('#dropdown').append('&lt;option value=' + key + '&gt;' + value + '&lt;/option&gt;');
          });
      }
  )};
  </code></pre>