I use these three lines of code to detect lesser internet explorer versions.
<!--[if lt IE 7]><html class="lt-ie8 lt-ie7 lesser-browser get-lost-ie-user please-leave-now"><![endif]-->
<!--[if IE 7]><html class="lt-ie8 ie7"> <![endif]-->
<!--[if !IE]><!--><html class="gtie7"><!--<![endif]-->
Using javascript, how can I find out whether or not the lt-ie8 class is enabled for the <html>
element?