bgColor not updating via JavaScript
<p>Why does the background color of the div not update?</p>

<pre><code>Tagger.prototype.mouseDown = function(event) {
  this.element.style.posLeft = event.clientX;
  this.element.style.width = 200 + "px";
  this.element.style.height = 200 + "px";
  this.element.style.position = "absolute";
  this.element.style.zIndex = 10;
  this.element.style.bgColor = "yellow";
  console.log(this.element);
  console.log(this.element.style.bgColor);
}
</code></pre>

<p>The console output is:</p>

<pre><code>&lt;div id="tagbox4" class="tagbox" style="width: 200px; height: 200px; position: absolute; z-index: 10;"&gt;
yellow
</code></pre>

<p>I can select the div by inspecting the element in the browser, but it has no background color, even though the console says it is "yellow".</p>
