Maybe you should try this
var colClass = el.className
More Related Contents:
- Private properties in JavaScript ES6 classes
- Use of .apply() with ‘new’ operator. Is this possible?
- ES6 class variable alternatives
- javascript document.getElementsByClassName compatibility with IE
- Call static methods from regular ES6 class methods
- What techniques can be used to define a class in JavaScript, and what are their trade-offs?
- JavaScript – Owner of “this”
- Angularjs – ng-cloak/ng-show elements blink
- Is it possible to redefine a JavaScript class’s method?
- Create an instance of a class in ES6 with a dynamic name? [duplicate]
- Why duck typing is allowed for classes in TypeScript
- ES6 classes : what about instrospection?
- No ways to have class-based objects in javascript?
- “This” within es6 class method [duplicate]
- What is the difference between class method vs. class field function vs. class field arrow function?
- jQuery: Finding partial class name [duplicate]
- Use :hover to modify the css of another class?
- Get all instances of class in Javascript
- Does JavaScript have classes?
- Re-associating an object with its class after deserialization in Node.js
- Class methods as event handlers in JavaScript?
- What are getters and setters for in ECMAScript 6 classes?
- Add a line of code to ALL functions
- Why aren’t methods of an object created with class bound to it in ES6?
- ‘this’ is undefined in JavaScript class methods
- JS call static method from class
- Class keyword in Javascript
- How to add mixins to ES6 javascript classes?
- ES6 – declare a prototype method on a class with an import statement
- jQuery match part of class with hasClass