This article mainly brings you an article using jquery+iframe to create an ajax upload effect (example). The editor thinks it’s pretty good, so I’ll share it with you now and give it as a reference. Let’s follow the editor to take a look, I hope it can help everyone.
html page
##
利用jquery+iframe做一个ajax上传效果
upfile.php
echo move_uploaded_file($_FILES['pic']['tmp_name'],'./upload/' . $_FILES['pic']['name']) ? 'OK':'fail';
Example sharing Ajax upload file progress bar Codular
Example explanation H5 mobile development Ajax upload multiple Base64 format pictures To the server
How to implement the Ajax upload image and preview function
The above is the detailed content of jquery and iframe make an ajax upload effect example sharing. For more information, please follow other related articles on the PHP Chinese website!