True, a strange question ... but is it possible somehow grab the entire javascript call stack from jQuery? For example, let's say that the page is ready, I do for each of each row in the table and for a specific cell in each row, I want to change the color of the row based on this cell that exceeds a certain value.
So, I am wondering if it is possible to write this in jQuery, execute it and somehow get the whole trace of the stack of the actual javascript that was executed?
Update # 1
Hmmm ... this looks very similar to what I hope for (it seems technically possible):
http://getfirebug.com/logging
Stack Trace
Just call console.trace () and Firebug will write a very informative stack trace to the console. It will not only tell you which functions are on the stack, but will include the value of each argument passed to each function. You can click functions or objects to check them further.
Update # 2
Ah, of course, the question is: why?
How about this: javascript is allowed in my company, but jQuery is not.
Conclusion
http://getfirebug.com/logging
or
http://blog.johnmckerrell.com/javascript-call-tracer/
tbone source
share