Look at the file before uploading. Preview file type jpg / png.
here we will use two methods to upload files
upload image
upload all type
using two push doors
controllers
base ![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoaNRgnBSCkyKhv4KUViikFeCk-rgD24uvXNYC1nz1JHnVcjHDSYCng45gC1JtfjutNiFBvFiHALOdaDNP0hkutobHJnzru00zNZokiMJRKfvUtOU0cVOhTVtKR6-mrO7-XHYg5jL8uM4a/s200/unknown.png)
javacript.php
Sample:
<!-- Avatar Upload Preview -->
To preview the file we need the help of smart people by building it
download and wrap the file with a text editor jquery.min.js
assets
js
base
jquery.min.js
or prefer to take away from cloud storage
Microsoft CDN :
Google CDN :
Make sure they are really installed,
Are files and folders created?
If it is already
let's create a push door for each file
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoaNRgnBSCkyKhv4KUViikFeCk-rgD24uvXNYC1nz1JHnVcjHDSYCng45gC1JtfjutNiFBvFiHALOdaDNP0hkutobHJnzru00zNZokiMJRKfvUtOU0cVOhTVtKR6-mrO7-XHYg5jL8uM4a/s200/unknown.png)
javacript.php
Sample:
<!-- Avatar Upload All Type File--!>
Posting Komentar untuk "Upload image and all types of files with javascript program"