A CSS3 selector could easily just get this - in jQuery:
$('div span').attr('class')
will easily give you the expression that returns all the classnames - easily mapped to whatever output you want.
A CSS3 selector could easily just get this - in jQuery:
$('div span').attr('class')
will easily give you the expression that returns all the classnames - easily mapped to whatever output you want.