On Thu, May 29, 2008 at 2:45 AM, Dave Methvin <[EMAIL PROTECTED]> wrote:
>
>> it does the job but I still find the behavior unexpected :P
>
> How could the documentation be changed to clarify the function so that
> you would expect its behavior?
>
> http://docs.jquery.com/Selectors/contains#text

The doc is very clear ... it's the way I tried to use it that yield a
result I can't make sense of :

<a href="foo">foo</a> + $(":contains(<a href="foo">foo</a>)") ) => [a foo] (1)
<a href="foo">foo</a> + $("a:contains(foo") ) => [a foo] (2)

for some reason with (2) I can chain commands but not with (1) ... (1)
appear faded in Firebug.

Thanks,

EuGeNe -- http://www.3kwa.com

Reply via email to