Home  >  Article  >  Web Front-end  >  Differences between running HTML in browser compatibility mode and fast mode_html/css_WEB-ITnose

Differences between running HTML in browser compatibility mode and fast mode_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:56:141029browse

The following files click "Add" and "Delete" buttons in browser compatibility mode to add or delete a line fine,
But in Express mode, after clicking "Add" or "Delete" it seems to automatically Clicked the "File Upload" button.
I can’t understand why this is happening, so I’m asking you all for help.



FileUpLoad

















上传文件1:

文件版本:























  添加 
  删除 







回复讨论(解决方案)

简单的说,这2种模式记录了浏览器发展的一个历史标杆,是特定历史下的产物。
复杂点说:
http://www.ibm.com/developerworks/cn/web/1310_shatao_quirks/
专业点说,就是浏览器解析盒模型式有问题。
ie5.5与ie6.0的区别。

请教:如何解决在高速模式下点击"添加"和"删除"按钮,立刻跳转到'File_upload_2.php' 的问题?

你的表格操作api 好像是原始js的。会有兼容性问题。。。最好使用jq表格插件。。这个问题easy解决,

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Arctext.jsNext article:Arctext.js