wwWebControl.AddScriptAttribute

Adds JavaScript code to an attribute based script event like onclick. This method allows appending script so that scripts are added cumulatively.

o.wwWebControl.AddScriptAttribute(lcScriptingEvent,lcScript,llAppend)

Parameters

lcScriptingEvent
The event attribute to assign the script to (ie. onclick, onchange etc.)

lcScript
The JavaScript code to use

llAppend
Whether the script is replaced (.f. default) or appended (.t.)

See also

Class wwWebControl

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic