PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property CodeJS allows to read and modify the associated Javascript code to an control Web Component.
Example
Trace( CMP_MyWebComponent.CodeJS)
Syntax

Finding out 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 into the page.
<Web Component control>: Control name
Name of Web Component control to use.

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 Web Component control to use.
<JavaScript code>: Character string (with quotes)
New Javascript code associated with the control.
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment