Skip to navigation

Question:
How to get the class name from a element with javascript?

Write a big program only when it is clear by demonstration that nothing else will do.