views:

210

answers:

1

I use jQuery jQuery.extend filter: for filtering items. When i use '*' for filtering, it is problem, because filter is case sensitive.

'People' and 'people' are two different strings.

'People' and 'people' filtered same items, but only when starting on this strings.

How I disable case sensitive for string, which start on '*'?

+2  A: 

You should standardize on casing in your application; I prefer using camelCase. IE treats "People" and "people" as identical. Therefore, if you use those as ids then you may not even get the element you wanted. Also, when those strings are used for class names, the second will overwrite the first in IE. Other browsers follow the standard, and case matters. For that reason, it should also matter in jQuery.

That answer is making a lot of assumptions with your question. If you edit it, then I can better help you.

geowa4