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

文件上传没有办法使用 #20

Open
zz5221 opened this issue Jun 29, 2019 · 1 comment
Open

文件上传没有办法使用 #20

zz5221 opened this issue Jun 29, 2019 · 1 comment

Comments

@zz5221
Copy link

zz5221 commented Jun 29, 2019

No description provided.

@BaiShou
Copy link

BaiShou commented Sep 25, 2019

DEMO的文件上传功能,是作者写的HTML错了
jsuploadfile.html 中修改一下

bindEvent(window, 'load', function() { var ip = document.getElementById("file_upload"); bindEvent(ip, 'click', function(e){ // alert("我是" + this + "元素, 你点击了我!"); alert("js 调 android 成功"); if(window.agentWebX5!=null && typeof(window.agentWebX5)!="undefined"){ window.agentWebX5.uploadFile(); }else{ alert(typeof(window.agentWebX5)); } }); });

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