title: "Object expected" error using jQuery only in IE8
body: <p>I'm getting an error only in IE (v8, I don't know if it happens in older IE versions, but it does not occur in Chrome or Firefox) which brings me the following message when I use IE dev tool's debbuger:</p>
  
  <pre><code>Breaking on JSScript runtime error - Object Expected
  </code></pre>
  
  <p>Here is my affected code:</p>
  
  <pre><code>$('#deviceProfileSelection').change(function() { //affected line!!!!
  // rest of my code...
  });
  </code></pre>
  
  <p>This element <code>#deviceProfileSelection</code> is defined as the following:</p>
  
  <pre><code>&lt;select id="deviceProfileSelection"&gt;
     &lt;option value=""&gt;&lt;?php echo getSysMessage("dropDownSelect")?&gt;&lt;/option&gt;
     &lt;!-- and other values...--&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I've already tried defining the .change listener into a <code>$(document).ready(function () {});</code> but no success at all. Any other idea?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I was trying to include a div using a PHP decision structure, where if a condition was true, it should print a div. But, actually it wasn't printing, I mean, it wasn't printing the opening tag 'div', only the closing tag 'div'.</p>
  
  <p>The browsers could interpret this error, but IE8, and this IE inability was causing the issue.</p>