我想按用户获取选定的Dropbox链接 [英] I want to fetch selected dropbox link by user

查看:70
本文介绍了我想按用户获取选定的Dropbox链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello EveryOne



我有一个图像链接按钮,我希望我的用户从dropbox / Goodrive / Copy中选择他/她的文件,选择之后我想要获取用户想要共享的文件的链接,以便我可以将链接保存到数据库中。



请帮助我获取用户将选择的链接来自Dropbox。





先谢谢

Hello EveryOne

I have a image link button on which I want my user to select his/her file from dropbox/Goodrive/Copy and after selection I want to get the link of file which the user want's to share , so that I can save the link into database .

Please help me to get the link which user will select from the Dropbox.


Thanks in Advance

推荐答案

参考 - 使用选配器 [ ^ ]。

Refer - Using the Chooser[^].
success: function(files) {
    alert("Here's the file link: " + files[0].link)
},



你可以得到文件链接作为返回值。试试吧。


You can get the file link as a return value. Try it.


这篇关于我想按用户获取选定的Dropbox链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆