title: Dojo selector syntax - IE bug in dojo
body: <p>We are using Dojo 1.4 (we hope to upgrade someday.)   I am trying to find the syntax to perform a dojo.query() using an iterated list of attributes rather than a matching selector.    I am looking for something like this:</p>
  
  <pre><code>dojo.query("[id=thisDivID, id=thatDivID]")
  </code></pre>
  
  <p>but I cannot get the syntax right.</p>
  
  <p>I have HTML resembling the following example code:</p>
  
  <pre><code>&lt;DIV id='someNameHere'&gt;
      &lt;SPAN id='dontSelectThis'&gt;&lt;/SPAN&gt;
      &lt;DIV id='thisDivID'&gt; text and code here &lt;/DIV&gt;
      &lt;DIV id='thatDivID'&gt; text and code here &lt;/DIV&gt;
  &lt;/DIV&gt;
  </code></pre>
  
  <p>and I'm trying to select only the two inner DIVs using </p>
  
  <pre><code>dojo.query("[id$='DivID']")
  </code></pre>
  
  <p>It works fine in Chrome and Firefox but returns extra results in IE.   There is a "DOCTYPE" declaration for the page (I gather that is a common IE problem).   </p>
  
  <p>I have already looked through all the examples I can find on the dojo site and none seem to address this problem.</p>