Search...
id
Gets the element's ID.
Description
The ID is the element's unique identifier. It is used when selecting
elements using the $w()
function.
An element's id
is set in the Editor using the Properties panel.
Type:
stringRead Only
Mixed in from:$w.IFrame
Was this helpful?
Get the ID
Copy Code
1let myId = $w("#myElement").id; // "myElement"