title: How to edit CSS styles in JavaScript?
body: <p><strong>So for example I can do this:</strong></p>
  
  <pre><code>document.getElementById('element').onclick = function() {
      document.getElementById('element').style.color = '#FFFFFF';
  }
  </code></pre>
  
  <p><strong>But how should I do this?</strong></p>
  
  <pre><code>document.getElementById('element').onclick = function() {
      document.getElementById('element').style.-moz-box-shadow = '1px 1px 1px #000'; 
  
  }
  </code></pre>
  
  <p>I hope you get what I mean :) </p>
  
  <p>Please do not post any answer related with jQuery or any library, I want it in plain javascript.</p>