I am trying to select items from an HTML Select list, where the text of the values may change but the underlying values themselves will not. For example:
<select id="events"> <option value="5001">Create User</option> <option value="5002">Create User Address</option> <option value="5003">Create Response Code</option> <option value="5004">Remove User</option> </select>
In this example I want to select the item associated with value 5001, which currently reads as “Create User” but in the future may be changed to “Create Client” or some other text. I haven’t found a clear-cut way to approach this.