1
2
3
4
5
//http://webknight-nz.blogspot.com/2011/03/ie-9-detection-with-jquery.html
if(!$.support.htmlSerialize && !$.support.opacity) 
{
// IE6/7/8 code
}