Closed billyjimjack closed 7 years ago
You must be coming from c# or .net :)
you need to use the +
sign to concatenate two string together... not the &
. So it should be:
alert("file url: " + file.EncodedAbsUrl);
D'OH! Thanks for the help.
No matter what file I upload the file.EncodedAbsUrl always returns 0. Even though the file object is fully populated with the relevant information.
Here is my code:
Here are the calls to load the required javascript:
Here is a screenshot of the alert returning '0':
Here is a screenshot of the file attributes, at the point of the alert: