pekebyte / pekeUpload

jQuery html5 file uploader plugin
http://pekebyte.github.io/pekeUpload
Other
82 stars 73 forks source link

Initialize pekeUpload using class selector #37

Open murzid opened 5 years ago

murzid commented 5 years ago

How to properly initialize pekeUpload using "class" selector (not ID), something like :

$(".uploader").pekeUpload();

I want initialize many form input with pekeUpload in one page with same configuration. All parameters will be set on "data-*" attributes, so it can be very flexible.

I try using "class" selector it's work, but when i press the "Browse files .." button, it's trigger "Browse files window" for all form (browse window popped up so many times). It's bugs?