Hey guys,
Thanks for the response. I think I'm going to have to use a couple of arrays for this as damber suggested.
I don't think it will be that inefficient becuase it will only take two or three key presses to limit the result set to what the user wants.
Much appreciated.
HardingD.
I did some googling and found the following code:
function getcss( selector, property ) {
var i, r, s=document.styleSheets && document.styleSheets[0]; if(s) {
r = s.rules ? s.rules : s.cssRules; if(r) {
i = r.length; while (i--) {
if(r[i].selectorText.toLowerCase() === selector.toLowerCase()) {...
Hi everyone,
I would firstly like to say hello to everyone as this is my first time at tek-tips.com.
I'm making a dynamic popup of user names as the user is entering them. I was wondering if anyone had any tips for making an accent insensitive search using javascript.
Here's my setup:
for(i =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.