title: Remove an html button using js
body: <p>I have a bit of code below that creates a button on a html form. When a user has entered some information using the button I want the form to reflect this by removing the button and replacing it with just plain text. I have tried getting the inner html and using divs but nothing is working can anybody help please? I am not looking for anyone to write code for me just a few pointers would be great.</p>
  <pre><code>  &lt;td class=&quot;col1&quot;&gt;&lt;h3&gt;Associated with :&lt;/h3&gt;&lt;/td&gt;
    &lt;td class=&quot;col3&quot;&gt;
    &lt;input type=&quot;button&quot; 
    value=&quot;Associate this job &quot; 
    onclick=&quot;associate()&quot; 
  /&gt;&lt;/td&gt;
  </code></pre>