Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem when change btn obj name #104

Closed
moosavimaleki opened this issue May 18, 2015 · 1 comment
Closed

problem when change btn obj name #104

moosavimaleki opened this issue May 18, 2015 · 1 comment

Comments

@moosavimaleki
Copy link

        var soundUploader = new ss.SimpleUpload({
            button: btn,
            url: 'wr-upload.php',
            name: 'uploadfile',
            hoverClass: 'hover',
            focusClass: 'focus',
            responseType: 'json',
            startXHR: start,
            onSubmit: submit,
            onComplete: complete,
            onError: error
        });

when change button: btn, dont work...

example:

var upBTN = document.getElementById('uploadBtn'),
.
.
.
button: upBTN
.
.
@LPology
Copy link
Owner

LPology commented Dec 31, 2015

Version 2.4 includes a new method called addButton() which you can use to add upload buttons.

@LPology LPology closed this as completed Dec 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants