title: On click javascript change background image
body: <p>Hello i have a problem with some javascript. I have a div to layout a button who does something(in my chase it will insert number 1 in to a box) and i want to change the background of the button when clicked:</p>
  
  <pre><code>&lt;div id="nr1"&gt;&lt;INPUT TYPE="button" NAME="one"   OnClick="this.style = 'background-image:URL(images/totalback.gif);'; Calc.Input.value += '1'" style="width:45px; height:30px; background-color:transparent;  border-style: none; border-width: 0px 0px 0px 0px"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>This is the code,but it ignores my background image change. Can any one help me? 
  Short info: i have little clue about javascript.</p>
  
  <p>Thank you anyway.</p>