Yes, you can do it. Use this:
$("body #s4-topheader2. ul li ul li.static > a").each(function(index) {
if(index!=2)
{
$(this).attr("href","javascript:void(0);");
}
});
Cheers !
Yes, you can do it. Use this:
$("body #s4-topheader2. ul li ul li.static > a").each(function(index) {
if(index!=2)
{
$(this).attr("href","javascript:void(0);");
}
});
Cheers !