Hi,
if I have:
function init(t,y,u)
{
alert(t + " " + y + " " + u);
}
// String.prototype.add = init(5, 6, 7); // 1)
// window.onload = init(5,6,7); // 2)
in the 1) init will be executed and then it pointer assegned to String.prototype.add
but in the 2) the function is only executed one time... but why not two times also
when the onload event is raised?
Thanks