<form name="form1" method="post" action="">
<input type="text" name="textfield">
<input name="Submit" type="button" value="按钮" onclick="this.form.textfield.value='haha'">
</form>
<input type="text" name="textfield">
<input name="Submit" type="button" value="按钮" onclick="this.form.textfield.value='haha'">
</form>
你的boss有这么BT的要求?
<input type="text" name="textfield" value="<?=($HTTP_POST_VARS[Submit])?"haha":''?>">
<input name="Submit" type="submit" value="按钮">
</form>