Search.../

id

Gets the mobile element's ID.

Description

The id property is the the mobile element's unique identifier. It is used when selecting mobile elements using the $w() function.

Type:

stringRead Only
Mixed in from:$w.MobileElement

Was this helpful?

Get the mobile element's ID

Copy Code
1let myId = $w('#myMobileElement').id; // 'myMobileElement'