I\'m trying to make a local xml file parsing \"application\" for some colleagues and i\'m using the current function to retrieve the files:
The replace method does not alter the current instance of the string, but returns a new one. See if this works:
replace
pathString = pathString.replace(/\\/g,"/");
See this example on jsfiddle.