1.
form中定义name
<form name = "sbform" action="sb_add.php" method="post">
用Reset清空
<input type="button" value="清空" onclick="sbform.reset()" /> 2.重加载 <input type="button" value="清空" windows.location.href='index.php' />
1.
form中定义name
<form name = "sbform" action="sb_add.php" method="post">
用Reset清空
<input type="button" value="清空" onclick="sbform.reset()" /> 2.重加载 <input type="button" value="清空" windows.location.href='index.php' />