control.findById()
- Last UpdatedJun 25, 2024
- 1 minute read
Use findById() method to find a control with a specific ID on the form.
Syntax
control.findById(controlID);
Parameters
|
Parameter |
Description |
|---|---|
|
controlID |
ID of the control to search on the form. |
Return Value
This method returns a control object.
Example
// Set a value for the Text control
control.findById("T1").value = "Hello World";