Skip to main content
2 of 2
improved formatting
Phil Greer
  • 2.3k
  • 9
  • 21
  • 23

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 !

J.Shah
  • 188
  • 8