title: How can I concatenate value in HTML and JavaScript?
body: <p>For example </p>
  
  <pre><code>&lt;input type="text" name="disp"&gt;
  &lt;input type="button" name="but0" value="0" onclick=""+"calc.disp.value=0"+""&gt;
  </code></pre>
  
  <p>Here if I click the button 0 means it should display the 0 in text box. If I click the button it should concatenate in that box. But it replaces that is the code is wrong. </p>