Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. function openFile(file) {
  2. //do something with the selected file:
  3.  
  4. location = file;
  5. }
  6.  
  7.  
  8. $(document).ready(function () {
  9. $('#content').fileTree({
  10. root: '\\ServerName\File1\File2\'
  11. }, function (file) {
  12. openFile(file);
  13. });
  14. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement