I'm currently attempting to disable a link using the following jQuery selector:
$("a[href$=/sites/abcd/sectors]").removeAttr("href");
The problem is that sometimes the href might not always be lower case on the page. When this happens the selector no longer matches.
Does anyone know how to get around this? Can I change the behaviour this once to ignore case?