I have an interesting question that may sound pretty silly, but here it goes. Using the jQuery ready function, I defined some functions, for example:
$(function(){
var function1 = function(data){
}
var function2 = function(data){
}
});
For some reason, for IE to display what I'm using correctly, this must be done in the $ (document) .ready () function. However, I need to call these functions when I have a dataset from the server. So I thought I would do something like this ...
Object.Namespace.callFunction = function(data){
function1(data);
}
... will be placed outside the ready function in the script so that I can call it directly.
, , , , , !. , , . - ! $(document).ready() global?