danielm / uploader

A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.
https://danielmg.org/demo/java-script/uploader
MIT License
1.17k stars 385 forks source link

Embed it in existing form with other inputs #83

Open harrysrevis opened 5 years ago

harrysrevis commented 5 years ago

Hello, i'd like to ask if it's possible to embed your script in existing form and pass the data through php controller. Something like codeigniter.

Thanks!

SapientHetero commented 5 years ago

Absolutely. You can start by embedding the HTML from one of the examples in your web page and loading the associated javascript and css files. I recommend combining the .js and .css files so you only load one of each.

harrysrevis commented 5 years ago

@SapientHetero Can i pass other input data too (and there are many of them :P )? Since i'm trying to do the "form.serialize()" function and images are not uploaded. Kinda new in jquery so i might do something wrong.