title: How to add css box-shadow using .style JavaScript property
body: <p>I've got the following JavaScript snippet:</p>
  
  <pre><code>document.getElementById("imgA").style.box-shadow = "0 0 5px #999999";
  </code></pre>
  
  <p>The hyphen in <code>box-shadow</code> is causing the JavaScript engine to throw an invalid assignment exception (in Firefox). Doing <code>"box-shadow"</code> or <code>'box-shadow'</code> doesn't work. Is there a good way around this without using jquery's <code>.css()</code> method?</p>