ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Web-specific functions / Miscellaneous WEBDEV functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a class into the HTML classes of a control.
Note: It's also possible to find out and modify the value of a field's HTML "class" attribute via the HTMLClass property.
Example
HTMLClassAdd(SAI_Saisie1, "SaisieEnErreur")
Syntax
HTMLClassAdd(<Control> , <Class to add>)
<Control>: Character string
Name of the control to be used.
<Class to add>: Character string
Name of the class to add. The class is not added twice if it already exists.
If several classes must be added, this parameter must contain the name of different classes separated by space characters. Each class is added independently.
Please note: Class names are case sensitive.
Component: wd300page.dll
Minimum version required
  • Version 20
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help