Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function openFile(file) {
- //do something with the selected file:
- location = file;
- }
- $(document).ready(function () {
- $('#content').fileTree({
- root: '\\ServerName\File1\File2\'
- }, function (file) {
- openFile(file);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement