I don't know about this "entire document" idea, if they're freely typing anywhere, A) As Justin mentioned shortcuts such as ctrl T for a new tab might be broken, and B) They're going to have no idea what they've already typed nor have any idea how many times they've hit backspace when trying a new search etc. There has to be some form of data representation for the input.
On Sep 12, 10:06 am, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > Yes you could just setup a keyup observer on the entire document, the > two problems that I see right away is that any keyboard shortcuts the > user already uses may or may not work any longer depending on how you > write your code. Secondly, depending on the size of the list of links, > the script may take a while to process each keypress. > > There's a few other issues I'd be concerned with, but the above is > probably enough to think about for now. Having a textbox to type into > would solve the first problem. Keeping a copy of the list of links in > a local variable would help to solve the second problem. > > -justin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---