AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The CodeJS property is used to read and change the JavaScript code associated with a Web Component control.
Example
Trace(CMP_MyWebComponent.CodeJS)
Syntax

Getting the JavaScript code associated with the Web Component control Hide the details

<Result> = <Web Component control>.CodeJS
<Result>: Character string
JavaScript code associated with the Web Component control. This JavaScript code will be written to the page.
<Web Component control>: Control name
Name of the Web Component control to be used.

Modifying the JavaScript code associated with the Web Component control Hide the details

<Web Component control>.CodeJS = <JavaScript code>
<Web Component control>: Control name
Name of the Web Component control to be used.
<JavaScript code>: Character string
New JavaScript code associated with the control.
Versión mínima requerida
  • Versión 22
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 19/09/2023

Señalar un error o enviar una sugerencia | Ayuda local