title: setting a property that has only a getter js error
body: <p>i have the following div structure with respective ids :</p>
  
  <pre><code>&lt;div id="border_1" class="track_mc01302 track_01_mc01302"&gt;
      &lt;img id="_img" /&gt;
      &lt;div id="border"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>but when i click on the parent div an error is encountered which says :
  setting a property that has only a getter</p>
  
  <p>i have written listener for keyboard press events(direction keys)</p>
  
  <p>the following function is called when i hit enter from keyboard :</p>
  
  <pre><code>function jsfunc() {         
      var elem = document.getElementByID(currpos_html);
      for(var i=0;i&lt;elem.childNodes.length;i++){
          if(elem.childNodes[i].id == "_img") elem.childNodes[i].style="block";
          if(elem.childNodes[i].id == "border") {
              elem.childNodes[i].style.display="block";
          }
  }
  </code></pre>