Revision: 13739
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 4, 2009 18:10 by krunkosaurus
Initial Code
javascript:(function(){var%20ids=[];jQuery('*').each(function(){if(this.id&&this.id!==''){if(ids[this.id]){console.log('duplicate%20id%20found:%20'+this.id,this,ids[this.id])}else{ids[this.id]=this}}});})();
Initial URL
Initial Description
<a href="javascript:(function(){var%20ids=[];jQuery('*').each(function(){if(this.id&&this.id!==''){if(ids[this.id]){console.log('duplicate%20id%20found:%20'+this.id,this,ids[this.id])}else{ids[this.id]=this}}});})();">Find duplicate IDs</a> (drag me to your tookbar). Requires Firebug and jQuery on the page.
Initial Title
jQuery bookmarklet: find duplicate ID's on the page
Initial Tags
DOM, jquery
Initial Language
JavaScript