Possible Duplicate:
how do i detect ie 8 with jquery
Hi All,
I was on here looking for a JQuery snippet to detect IE8. This is what I found, see below:
if(jQuery.browser.version.substring(0, 2) == "8.") {
$('#step-1').css({'margin-left':'8px'});
}
I found this but it doesnt seem to be working...Can someone advise me where I might be going wrong...or have other suggestions.
Thanks