WebPopupMenu.Text

From Xojo Documentation

Read-Only Property (As String )
StringValue = aWebPopupMenu.Name

Supported for all project types and targets.

The text of the currently selected item in the Popup.

Example

This code in the WebPopupMenu.SelectionChanged event handler displays the text of the selected item:

MsgBox(Me.Text)