get class name of div in javascript code example
Example 1: get name of class javascript
myObj.constructor.name
Example 2: how get class name
String className = this.getClass().getSimpleName();
myObj.constructor.name
String className = this.getClass().getSimpleName();