JavaScript Editor Ajax toolkit     Ajax website 



Main Page

Declares a new function. This can be used in several contexts:

// in the global scope
function functionname([parmlist]) [: type] {
   [body]
}

// declares a method in a class
[attributes] [modifiers] function functionname([parmlist]) [: type] {
   [body]
}

// declares a method in an interface
[attributes] [modifiers] function functionname([parmlist]) [: type]

Expand imageArguments

Expand imageRemarks

Expand imageExample 1

Expand imageExample 2

Expand imageRequirements

Expand imageSee Also



JavaScript Editor Ajax toolkit     Ajax website


©