Javascript Reference
Categories: Error

javascript Error fileName

@March 15, 2008, 1:22 a.m.
fileNameFirefox/Netscape/NN 6 IE n/a ECMA n/a  

Read/Write  

Specifies the URL of the page in which the script error occurred. This information appears in the JavaScript Console window for each reported error.

 
Example
 
var sourceFile = myError.fileName;
 
Value

URL string.

Under moderation.
education advice - 2017-04-29

Powered by Linode.