Lucee Function Reference

ajaxonload()

Causes the specified JavaScript function to run when the page loads.

Example

ajaxonload([any functionname]):any

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
functionname any  No The name of the function to run when the page loads.