J
jrough
I am trying to understand how to invoke a method of a function. Since
this is an anonymous function can you call it like this?
myString='This is a string';
Var myObject= {
myFunction:function(arg1){
Var temp= new array();
temp = split(arg1);
for (var i in temp) {
document.writeline.temp;
}
}
}
myObject.myFunction();
this is an anonymous function can you call it like this?
myString='This is a string';
Var myObject= {
myFunction:function(arg1){
Var temp= new array();
temp = split(arg1);
for (var i in temp) {
document.writeline.temp;
}
}
}
myObject.myFunction();