title: dynamically generated link not displaying in IE 10
body: <p>I have a dot net page that shows/hides panels.  when I set compatibility view "display all websites in Compatibility View" the Last panels dynamically generated link does not display but it does exist. I can click on it and the panel is hidden.  </p>
  
  <p>If I check Only the IE Compatibility View box "Display intranet sites in Compatibility view" then the last panels "Hide Details" link displays and works fine.  </p>
  
  <p>I'm only going to post the JavaScript as it should be sufficient for this question. The markup simply has an inline call to the JS TogglePanel method. The inline call is dynamically generated with unique ClientIDs for each panel and for each link</p>
  
  <p>Any clues as to what the heck is going on here will be greatly appreciated!!</p>
  
  <p>NOTE: This JS script works perfectly.</p>
  
  <pre><code>    function TogglePanel(panel, link) {
          var selectedPanel = $("." + panel);
          var selectedLink = $(link);
          if (selectedPanel.is(":visible")) {
              selectedPanel.hide();
              selectedLink.text('Show Details');
          }
          else {
              selectedPanel.show();
              selectedLink.text('Hide Details');
          }
      }
  </code></pre>