title: IE Invalid Argument Error - Says it is an error in jQuery, but I don't think so
body: <p>I am pulling my hairs out over an invalid argument error in IE7, maybe all IE's...</p>
  
  <p>The site is: <a href="http://www.karencaldwelldesign.com/fashion" rel="nofollow noreferrer">http://www.karencaldwelldesign.com/fashion</a></p>
  
  <p>IE says it is an error on line 12, but if I open up Script Debugger it says the problem is with some code in jQuery.  I don't buy that.</p>
  
  <p>So, I looked at my script (<a href="http://www.caldwellsnyder.com/__data/assets/js_file/0003/5943/kc-gallery.js" rel="nofollow noreferrer">http://www.caldwellsnyder.com/__data/assets/js_file/0003/5943/kc-gallery.js</a>) and line 65 seems to be the problem:</p>
  
  <pre><code>data = '&lt;div id="content'+id+'" class="content"&gt;'+data+'&lt;/div&gt;';
  </code></pre>
  
  <p>data is returned from the jQuery $.ajax() function, but I needed to wrap it with an additional numbered div.</p>
  
  <p>In particular it is the id variable that is caused the invalid argument error, but I have no idea why!  The var is just a number that gets incremented.  Removing the var from that line lets the page load perfectly, but I really need to increment the id in this way.</p>
  
  <p>Does anyone have any idea why this simple variable would be cause invalid argument in IE?</p>