Text Ids

Give spans of text an id

Text IDs wrap text in a text field with a span with an ID that you define.

The reason for wrapping a word or phrase with a span with an ID is so you can refer to it later with JavaScript using document.getElementById(“nameID”).

For example, if your text in a text field was,

The mouse jumped over the moon

and you defined a text id, “mouse:nameID” then the final HTML output would be,

The <span id="nameId">mouse</span> jumped over the moon

Separate each text id name and value pair with a semicolon.

Text IDs are case sensitive.

To set a text ID:

  1. Select a text field and open the element options

2. In the Text ID field enter the text you want to find and then the id to use to reference it