我有一个表单,我在提交时定位iframe。提交表单后,我想将表单重置为空白。
就像他们在这里谈论的那样: Form to iframe submission - how do you reset the form after file upload?
<form action="functions/upload.php" method="POST" enctype="multipart/form-data" name="form1" id="form1" target="fileupload">
<iframe name="fileupload" frameborder="0" src="functions/upload.php" style="float:none; color:#FFF; display:none" width="100%" id="result" allowtransparency="true"></iframe>
这是如何实现的?