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='删除' />
转载于:https://www.cnblogs.com/holyes/archive/2012/06/26/50bb4eb851d462a8b8684c9252c7593c.html