网友回复
1、html
<input type="file" name="photo" id="photo" value="" placeholder="照片"> <input type="button"BfwOnclick="postData();" value="下一步" name="" style="width:100px;height:30px;">2、js
<script type="text/javascript"> function postData(){ var formData = new FormData(); formData.append("photo",$("#photo")[0].files[0]); formData.append("serv...
点击查看剩余70%