<aoweb:scriptGroup>

Some scripts may benefit by delaying or batching their execution. This is especially true when making many changes to the DOM. By nesting related script-generating tags inside a scriptGroup, the execution will be batched into a single script.

Tag Information

Attributes

Name Required Evaluation Type Description
onloadMode No Runtime String

Supports three options:

  1. none (the default) - executes the script directly in the body
  2. before - executes the script before any existing onload script
  3. after - executes the script after any existing onload script

TODO: Consider renaming to something more generic and including option for ondomready event.

Variables

No Variables Defined.