get the HTML Element by Common Name

Hi All Can we get the element by the Common Name of wiget in Javascript code,  or only by the class?  
1 answers

Hi you can find an element in the dom by the common name in the modeler.

Each widgets gets a className depending on it’s name in the modeler. In your case to get the column2 element:

var wantedElement = document.getElementsByClassName(“column2”)[0];

Don’t forget to take index [0] since the action returns an array.