jquery class to list 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')