jQuery File Tree - Download File On Click

Hi,

I’ve added the CFileBrowser Widget from Google-Code to displays the Contents of a Folder.

This is working fine.

But how can I add a functionality through Javascript to Download a File when the User clicks on them.

How can I accomplish that?

Kind Regards

contextMenu is a good choice , but you should learn how to integrate it to fileTree . there are many jquery contextMenu plugins , google it .

and i don’t know if you can use jcontextMenu together with the fileTree widget . i never used the CFileBrowser widget but i use the jcontextMenu with dynyTree jquery plugin , it works great

Hi,

Try from this.May be it’ll help.