push button test case

Clicking on the buttons below SHOULD NOT cause the form to be submitted.

Text:


function bAppend() {
	document.getElementById('formfield').value += ' test';
}

<form method="post" action="/dreamhost/forum/button.pl" enctype="multipart/form-data" autocomplete="off">
<p>
<strong>Text: </strong>
<input type="text" name="formfield"  size="50" id="formfield" />
</p>
<p>
<input type="button"  name="buttonbutton" value="Append" onclick="bAppend()" />
<button type="button"  name="buttonbutton" value="Append" onclick="bAppend()">Append</button>
</p>