我有一个上传表格
<form action="../upload" method="post" id="upload_form" enctype="multipart/form-data" target="upload_frame" >
<input name="file" type="file" />
</form>
它是使用javascript形式提交另一个表单提交按钮
function upload(){
var uploadForm = document.getElementById('upload_form');
uploadForm.submit();
console.log('this should be called when the form finishes upload and respone is committed');
}
请告诉示例是否不够清楚