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, 1996-2019 • Updated: 02/24/16
Comment or report problem with topic