public/html/js/classes.js
// launched when user types something in the filter input area above the class list
launched when user types something in the filter input area above the class list
launched when user types something in the filter input area above the class list
function filterAlphaList(search){
            var reg = new RegExp(search, 'gi');
            $('.classLink').each(function(i, link){
                if ((link.attributes['data-name'].nodeValue).search(reg) == -1) {
                    link.className = 'classLink hidden';
                } else {
                    link.className = 'classLink';
                }
            });
        }
function filterAlphaList ( search ) { var reg = new RegExp ( search , 'gi' ) ; $ ( '.classLink' ) . each ( function ( i , link ) { if ( ( link . attributes [ 'data-name' ] . nodeValue ) . search ( reg ) == - 1 ) { link . className = 'classLink hidden' ; } else { link . className = 'classLink' ; } } ) ; }
launched when user types something in the filter input area above the class list
launched when user types something in the filter input area above the class list