title: Select elements with periods in ID using jQuery?
body: <p>I have an id with a dot ('.') . I am not able to select it using jQuery. </p>
  
  <p>For example:</p>
  
  <pre><code> &lt;p id="sec.ond"&gt;this is another  paragraph&lt;/p&gt;
  </code></pre>
  
  <p>How can I use such an id to select this element? </p>
  
  <p>I get such ids while I use spring forms with arrays, e.g.:</p>
  
  <pre><code>&lt;form:input path="abc[0].firstName" /&gt;
  </code></pre>
  
  <p>This will result in:</p>
  
  <pre><code>&lt;form:input id="abc0.firstName" name="abc[0].firstName" /&gt;
  </code></pre>
  
  <p>Thanks in advance for any help.</p>