how to get element of class list jquery code example
Example 1: jquery class list
$('#elementID').prop('classList');
Example 2: jquery: get class list using element id
$('#elementID').prop('classList').add('yourClassName')
$('#elementID').prop('classList').remove('yourClassName')