AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Su versión: 01A240077F (WINDEV 24)

Ayuda / WLanguage / WLanguage functions / Functions specific to WEB / Various WEBDEV functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
HTMLClassToggle (Function)
 
Toggles a class in the HTML classes of a control: if the class does not exist, it is added ; if the class already exists, it is deleted.
Note: You also have the ability to find out and modify the value of the HTML "class" attribute of a control via ..HTMLClass.
Ejemplo
HTMLClassToggle(EDT_Edit1, "InputInError")
Sintaxis
HTMLClassToggle(<Control> , <Class to Toggle>)
<Control>: Character string (with or without quotes)
Name of the control to use.
<Class to Toggle>: Character string (with quotes)
Name of the class to toggle. If a class is found n times in the string, this class is toggled n times.
If several classes must be toggled, this parameter must contain the name of the different classes separated by space characters. Each class will be toggled independently.
Caution: The name of classes is case sensitive.
Componente : wd240page wl2js.dll
Versión mínima requerida
  • Versión 20
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/06/2019

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