Hi, I want to execute a function that is inside the jquery document ready closure. But I want to execute it from a global context.
e.g.
$("document").ready(function () {
function myFunction() {
alert("test");
}
});
Is there some sort of "path" syntax I can write, to get inside the doc ready closure?
e.g. Here is some pseudo code (I've made this synatx up):
document.ready.myFunction();
You might be wondering why I wish to do this; the reason is so I can execute functions from a javascript console (e.g. the console in IE developer toolbar / firebug etc) that are inside the "ready" function closure.