MLabel
The MLabel component is a control that can be used to show any content, from plain text to raw HTML code.
Contents
Configuration
You can define the content of a MLabel using its Caption property.
Usage
Get and Set the Caption
From PHP, you can interact with the Caption property.
From JavaScript, you can use the html() jQuery method:
var currentCaption = $("#ComponentName").html();
$("#ComponentName").html("New caption");
Client-side Features
DOM Elements
The component generates the following client-side DOM elements:
- Wrapper (HTMLDivElement). Full web browser support. Access it with 
$("#ComponentName_outer").get()[0].- Main element (HTMLDivElement). Full web browser support. Access it with: 
$("#ComponentName").get()[0]. 
 - Main element (HTMLDivElement). Full web browser support. Access it with: 
 
Client-side Events
- Documented in the RPCL Reference.
 
Server-side Features
Properties, Methods and Events
- Documented in the RPCL Reference.
 
See Also
- Alternatives: Label (web applications).