Quote:
Originally Posted by MrOmega
So is using 'this' just more efficient than 'name'? Or is it just a preference choice and trivial?
|
It's not personal preference, it's the proper way to do it. You're giving it a string when it's expecting an object.
Proof, from
a wiki article written by Stefan:
PHP Code:
//#CLIENTSIDE
function onCreated() {
// Retrieve the playlist via http
this.req = requestURL("[link removed]");
catchevent(this.req,"onReceiveData","onData");
}