> console.log('plugin is disabling option : ' + > d[i]); // RETURNS A VALID ANSWER > $(this).find('a[href="' + d[i] + > '"]').parent().addClass('disabled'); > // THE SELECTOR RETURNS 0 > ELEMENTS, ALTHOUGH THE MARKUP IS CORRECT.
Break down the selector there a bit. It seems like the most likely broken spot is the check for an exact match between the href and d[i]. If you switch it to [href~='+d[i]+']' do you still get a match?