<html>
  <head>
    <title>JS Demo</title>
  </head>
  <body>
    <h3>Klick den Knopf</h3>
    <button type="button" onclick="document.getElementById('content').innerHTML = 'Ein bisschen Text...'">
     Knopf 
    </button>
    <p id="content"></p>
  </body>
</html>
function showtext(meinText){
document.getElementById('content').innerHTML = meinText;
}
Rerun