<input type="button" value="保存" onclick="return display_excel();" />
在这个代码里,函数display_error里使用
$(#form).submit();
原因是因为,input标签少了name属性,加上就可以了。