This code works:
CODE
<script>
var loc=iName;
alert('File to reach -- ' + loc + ' --');
</script>
This code does not work:
CODE
<script>
var loc=folder1/folder2/iName;
alert('File to reach -- ' + loc + ' --');
</script>
I am unable to add to the contents of iName. My syntax must be wrong.
How could I fix this?