daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Feb 20th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top