We are using Saola to create a software application simulation. Depending upon what action the user takes, the javascript code needs to run or set states within other symbols or symbols layered within symbols. The ids we are using to set element values (eg. via document.getElementById) we have to pull from inspecting the source html from the published page. This is an id that is automatically created by Saola, e.g. sl-elem-unit4_approver-1-3 at the point of publishing. This is almost impossible to use as we have to publish each time to get the ids to use in the code, which unfortunately changes on publishing as each time the layering of elements changes within the source file. It would be better if this was a static value that is displayed in the Properties panel.
Is there a way around this?
An example of a partial sequence: http://www.dgnas.com/demo1/unit4_approver.html