active web pages

Active Web Pages - content previous page next page

deutsch
Zur deutschen Version
po polsku
Do wersji polskiej
Russian
К русской версии

Content

this

FunctionX() {
...
this.AttributeX = "a value";
... }

If the function is called normally, e.g.
x = FunktionX();,
the command with this is ignored.

If the function is called as a method of an object, the attribute is added to the object.
x.FunctionX();
x.AttributeX has the value "a value".

About me  
Internet  
Guitar  
Literature  
Linguistics  
Software  
Links  
Contact