Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Nice answer using the :contains pseudo-selector. I believe it's more performative than .filter(). Commented Jan 16, 2012 at 16:05
  • Agreed, and this will probably solve the problem nicely. However, it should be pointed out that this will not do if an exact match is what OP is after. Commented Jan 16, 2012 at 16:06
  • Indeed, 2011/12/21 BC would also be catched, although looking at the sample markup, it seems it sticks to YYYY/MM/DD. Commented Jan 16, 2012 at 16:15
  • It's really unbelievable !! It worked. Thanks so much! I'm a beginner of jquery. Please give me another solution if you have. I'd like to learn more. Commented Jan 16, 2012 at 16:15