[jQuery] Re: jquery context menu plugin: issue with find()

2009-02-16 Thread Alexandre Plennevaux
hi dave, thanks for the reply. In fact, it's my fault: i was calling the command against the wrong selector set. It has to be the context menu itself, not the element which triggers the context menu. it makes sense when you know it , but i wish i wouldn't have had to look into the online example

[jQuery] Re: jquery context menu plugin: issue with find()

2009-02-16 Thread Dave Methvin
> 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 th