jfeldstein / jQuery.AjaxFileUpload.js

jQuery plugin to magically make file inputs upload via ajax
408 stars 246 forks source link

no submit_button in documentation? #22

Closed RobinManoli closed 11 years ago

RobinManoli commented 11 years ago

It seems to me that the submit_button is mandatory, yet it is not written in the examples. Besides, one might not even want to submit the form by a submit button, but trigger it differently (through onchange for example)

jfeldstein commented 11 years ago

An explicit submit button is optional.

If you don't specify a manual submit button, it'll automatically submit whenever the file selector changes. If you do set a manual submit button, the plugin will bind clicks on that element to starting the upload.