how to remove the starting spaces in aucomplete feature?

Posted by murali on Stack Overflow See other posts from Stack Overflow or by murali
Published on 2010-03-18T08:40:35Z Indexed on 2010/03/18 9:51 UTC
Read the original article Hit count: 334

Filed under:

hi

I am providing the autocomplete feature to my website....but I am facing the problem that if the user is typing at the start there are spaces(without any key)...

how to limit the starting spaces without typing any keyword.....after 3 or 4 spaces it gives the starting database table keywords ... I used trim also .. but no use for( a) these spaces create a problem... how can I remove the spaces...

any idea..

thanks, Murali

© Stack Overflow or respective owner

Related posts about autocomplete