cdibened / filechooser

Cordova plugin to get around Android's removal of html file upload
MIT License
74 stars 46 forks source link

Class not found error in error Callback #13

Open jeson114 opened 8 years ago

jeson114 commented 8 years ago
html 
<input type="file" id="fileinput" name="fileinput" />

js:

    var input = document.getElementById('fileinput');
        input.onclick = function () {
            filechooser.open({}, function (data) { console.log("response",data); }, function (err) { console.log(err); });
        };

I am getting a class not found error on click . any idea why ?

badogar commented 8 years ago

@jeson114: did you found the answer ?

jeson114 commented 8 years ago

no , i used this instead : https://github.com/don/cordova-filechooser This plugin works fine