> 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
> 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