Anyone have any insight into why/how this amazingly works? Notice the dot notation in the function name. This will only work in IE. Interesting...
Code:
function MyFunction()
{
}
function MyFunction.MyFunction2()
{
alert("worked!");
}
MyFunction.MyFunction2(); //works!
//
function MyNonExistantFunction.MyFunction3()
{
alert("will not work"); //MyNonExistantFunction not declared first
}
MyNonExistantFunction.MyFunction3();
Comment