LPology / Simple-Ajax-Uploader

Javascript file upload plugin with progress bar support. Works in all major browsers, including IE7+, Chrome, Firefox, Safari, and Opera. No dependencies - use it with or without jQuery.
995 stars 267 forks source link

onChange 3rd parameter , how to use button reference #114

Closed darkworks closed 9 years ago

darkworks commented 9 years ago

i wish onChange function could return button id or can you explain how to use this 3rd parameter of it , i mean docs say it return button reference , so how to use that reference if i have to change that button text . for example upload button clicked file selected by user , onChange function called now how can i change button text

http://stackoverflow.com/questions/31570909/how-to-use-button-reference-in-jquery/31571621#31571621

onChange( filename, extension, uploadBtn )

zaygraveyard commented 9 years ago

This is a bug, it's not your fault. Please see #115 for a proposed fix.

LPology commented 9 years ago

@darkworks Thanks for for your input here.

@zaygraveyard Thanks for submitting a fix. It has been merged.