Ciao.
Segnalo Getting Out of Binding Situations in JavaScript
![]()
Ciao.
Segnalo Getting Out of Binding Situations in JavaScript
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it
Tanto per stimolarvi![]()
Codice PHP:
var mytest = {
init: function() {
alert(this === window);
}
};
mytest.init(); // false
var my = mytest.init; // true
my();
![]()
Without faith, nothing is possible. With it, nothing is impossible
http://ilwebdifabio.it