Why does my jQuery-script not work with Internet Explorer 7
<p>As I've got errors in IE7 - I should to take a closer look at JS file - written before ...(by others). </p>

<p>at this point I'm not sure about anything, so I'd like to ask you - from my point of view is this wrong (aslo spacing can cause problems, I think) - but it is done all over the site:</p>

<pre><code>(function ($) {
    $(document).ready( function() {
          //the code
    });
})(jQuery);
</code></pre>

<p>oh and yes, the error in IE8: </p>

<blockquote>
  <p>HTML Parsing Error: Unable to modify the parent container element
  before the child element is closed (KB927917) - which make me think
  the JS is in error.</p>
</blockquote>

<p>I know that this is a silly question, but thanks for your answer.</p>
