Match a string in jQuery regardless of upper/lower case
I'm trying to match words on the page by using :contains, If i开发者_JS百科'm searching for the word "string" I want to be able to match "STRING","sTRiNg" etc. What is the best way to do this?
You can see an answer here: Is there a case insensitive jQuery :contains selector?
精彩评论