title: html button disappears after onclick() event
body: <p>Hello guys I am New to javascript I want to know why does the html button disappears as soon as i click it. The browser shows the text but the button disappears.  here is how my html looks likes</p>
  
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;script type="text/javascript"&gt;
              function funcname(){
                  document.write("&lt;br/&gt;  &lt;br/&gt; &lt;br/&gt; some text");
              }
           &lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;form&gt;
              &lt;input type="button" name="something" value="touch me" onclick="funcname()"&gt; 
          &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>