jQuery hide showing odd behaviour
<p>I'm having a jQuery problem which I haven't seen before. My script hides certain wrappers, and this works in Firefox and Chrome, but not IE. The odd thing is when I open the IE console and refresh the page to see the log, then it works as I expect it too. It ONLY fixes when refreshing with developer tools open though!</p>

<p>Here is a console snippet:</p>

<pre><code>$.get('/help-and-advice/purchase-wizard/product-details/' + product_id, function(data) {

          console.log(data);

          $.each(data.show, function() {
            $.each(this, function(index) {
              $('#' + data.show[index]).show();
            });
          });

          $.each(data.hide, function() {
            $.each(this, function(index) {
              $('#' + data.hide[index]).hide();
            });
          });
</code></pre>

<p>In the console log the wrapper I want hidden is listed within the data.show object too.</p>
