MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


$("a").each(function() {
$("a").each(function() {
     if ($('[href$="Investigator:"]', this).length()) {
     if ($('[href$="Investigator:"]', this).length) {
         alert("Investigator Link Found");
         alert("Investigator Link Found");
     }
     }

Revision as of 19:08, 4 December 2018

$(document).ready(function() {

$("a").each(function() {
    if ($('[href$="Investigator:"]', this).length) {
        alert("Investigator Link Found");
    }
});


});