I am using the following for getting javascriptthe JavaScript caller function name:
var callerFunc = arguments.callee.caller.toString();
callerFuncName = (callerFunc.substring(callerFunc.indexOf("function") + 8, callerFunc.indexOf("(")) || "anoynmous")
Is there a way to discover the line number from which the method was called?
Also, is there a way to get the name of the jsJavaScript file the method was called from? orOr the source urlURL?
Thanks, Tal.