Jquery fails on IE7/8/9 works with other browsers
This query is failing on IE7 with error Object Expected. In IE8/9 no error but does not work. In all other modern browsers it work fine.
if (jQuery("#tabs li:eq("+jQuery("#tabs").tabs("option", "selected")+") a").attr("title")=="g开发者_如何学Goooglemap") {loadMap();}
});
I'm guessing you are using jquery ui tabs so on that guess you might try :
if (jQuery("#tabs li.ui-tabs-selected a").attr("title")=="googlemap") {loadMap();}
精彩评论