I’m wondering why when I call: eval(“myFunc(1,2,3)”) in the Firebug console on a rendered page, the function executes properly, but when I call the same eval within by javascript within then page, I get a ” is not defined” error that pops up in the Firebug console. Part of my problem is that I don’t have control over the incoming HTML/JS and I can’t seem to find where the function is defined. So I guess my questions are, why am I getting that error and how can I find where the function I’m trying to call is defined? If I pull up the page source, I can see calls to the function but I don’t see where it is defined.
I’m wondering why when I call: eval(myFunc(1,2,3)) in the Firebug console on a rendered
Share
If you view the source you should be able to see any JS in the source code and any attached js files too – you should be able to download them and open them in your editor then do a find.