it is case insensitive...sort of. I convert both the string in the
table cell, and the string inside the text box to uppercase before
comparing them. As for the like search, look at this line:

if ( !contents.match('^' + string) ){

That tells the search to start at the beginning of the string. IF you
want to find the text from the text box anywhere in the table cell,
change it to this:

if ( !contents.match(string) ){



On Sep 14, 6:05 am, "Web Specialist" <[EMAIL PROTECTED]>
wrote:
> Andy,
>
> nice!
>
> Only one question: how to convert your solution to search for case
> insensitive and using SQL LIKE clause?
>
> 2007/9/13, Andy Matthews <[EMAIL PROTECTED]>:
>
>
>
>
>
> > Giovanni...
>
> > That's exactly what I'd like to do! However, I decided to have a go at
> > it and this is what I came up with:
> >http://www.commadelimited.com/code/filter
>
> > It does exactly what I need. I'm sure there's a better way of doing
> > things (and I'd LOOVE to hear from you guys), but it works and I'm
> > happy. My boss will be super happy too.
>
> > If any of you gurus see this, I'd love to get your suggestions or even
> > just critiques. This is the first type of code like this that I've
> > written.
>
> > On Sep 13, 5:05 pm, Giovanni Battista Lenoci <[EMAIL PROTECTED]>
> > wrote:
> > > Don't know if is what are you looking for, but have you take a look at
> > > this plugin?
>
> > >http://ideamill.synaptrixgroup.com/?page_id=16
>
> > > Bye- Hide quoted text -
>
> - Show quoted text -

Reply via email to