button 带有自动提交功能。 button 带有自动提交功能。导致在JS中回车执行了 button的删除功能 <button name='deltr' style='background-Color:#FFF;border:0;'>删除</button> <input type='button' name='deltr' style='background-Color:#D4DBED;border:0;' value='删除' />