Ajax 不支持enctype="multipart/form-data" 所以用隐藏 iframe 来处理无刷新表单提交.
DWZ的前台的form应该写成
<form method="post" action="url" class="pageForm required-validate" enctype="multipart/form-data" onsubmit="return iframeCallback(this,[navTabAjaxDone/dialogAjaxDone]);">
原文链接:https://www.f2er.com/ajax/160952.html