title: Javascript and CSS, using dashes
body: <p>I'm starting to learn some javascript and understand that dashes are not permitted when naming identifiers. However, in CSS it's common to use a dash for IDs and classes.</p>
  <p>Does using a dash in CSS interfere with javascript interaction somehow?  For instance if I were to use <code>getElementByID(&quot;css-dash-name&quot;)</code>.  I've tried a few examples using getElementByID with dashes as a name for a div ID and it worked, but I'm not sure if that's the case in all other contexts.</p>